Type Parameters

Hierarchy

Constructors

Properties

_data: RecordData[]
realCollection: Collection

Accessors

  • get caller(): Readonly<Caller>
  • Returns Readonly<Caller>

  • get collection(): default<S, N>
  • Returns default<S, N>

  • get data(): readonly TRow<S, N>[]
  • Returns readonly TRow<S, N>[]

  • get dataSource(): default<S>
  • Returns default<S>

Methods

  • Stop hooks execution and send error to the UI

    Example

    .throwError('My error message');
    

    Parameters

    • message: string

      the error message

    Returns never

  • 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