Type Parameters

Hierarchy

Constructors

Properties

realCollection: Collection

Accessors

Methods

  • Stop hooks execution and send Forbidden error to the UI

    Example

    .throwForbiddenError('My forbidden error message');
    

    Parameters

    • message: string

      the forbidden error message

    Returns never

  • Stop hooks execution and send Validation error to the UI

    Example

    .throwValidationError('My validation error message');
    

    Parameters

    • message: string

      the validation error message

    Returns never