Optional
Readonly
Protected
Stop hooks execution and send error to the UI
the error message
.throwError('My error message'); Copy
.throwError('My error message');
Stop hooks execution and send Forbidden error to the UI
the forbidden error message
.throwForbiddenError('My forbidden error message'); Copy
.throwForbiddenError('My forbidden error message');
Stop hooks execution and send Validation error to the UI
the validation error message
.throwValidationError('My validation error message'); Copy
.throwValidationError('My validation error message');
Stop hooks execution and send error to the UI