public get message(): string {
return super.message;
}
// Example usage.
import { CommonError } from '@angular-package/error';
// Extend the `CommonError` class.
class TestError<Id extends string> extends CommonError<Id> {}
// Returns "Problem(AE:427): Problem accessor. => Fix: Fix accessor.".
new TestError('Problem accessor.', 'Fix accessor.', '(AE:427)').message;