Skip to main content

externalErrorFactory

Generates Serenity/JS RuntimeError objects based on the provided configuration.

Index

Constructors

Methods

Constructors

externalconstructor

Methods

externalcreate

  • create<RE>(errorType: new (...args: any[]) => RE, options: ErrorOptions): RE
  • Type parameters

    Parameters

    • externalerrorType: new (...args: any[]) => RE
      • externaloptions: ErrorOptions

      Returns RE

    Page Options