after last release throw new error reports any call to function that are PascalCase and contains the word “Error” as invalid.
Example:
const ParseError = () => 0;
// this is reported as invalid
cont result = ParseError();
In my specific case I’m getting the error when using a class decorator to track custom error classes
@RegisterServiceError()
class SomeError extends BaseError {}
easiest solution would be to at least allow a list of name exceptions to the rule.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too