★ Constructor
The `TypeError` object constructor
Last updated
// Example usage.
import { TypeError } from '@angular-package/error';
// Returns
// TypeError: Problem(TE:201): Wrong type => Fix: The type of `age` parameter must be of the string
new TypeError('Wrong type', 'Change the type', '(TE:201)', 'string');