★ Constructor
The `ValidationError` constructor
Last updated
// Example usage.
import { ValidationError } from '@angular-package/error';
// Returns
// ValidationError: ProblemTE:201: Wrong type => Fix: Change the type
new ValidationError('Wrong type', 'Change the type', 'TE:201');