Options
All
  • Public
  • Public/Protected
  • All
Menu

Module ExceptionFactory

Index

Functions

createAssertionError

  • Parameters

    • message: string
    • Optional cause: any

    Returns AssertionError

createAssetLoadError

  • Parameters

    • message: string
    • Optional retriable: boolean
    • Optional type: AssetLoadErrorType
    • Optional cause: any

    Returns AssetLoadError

createPureVirtualError

  • Parameters

    • methodName: string
    • Optional cause: any

    Returns PureVirtualError

createTypeMismatchError

  • createTypeMismatchError(methodName: string, expected: any, actual?: any, cause?: any): TypeMismatchError
  • Parameters

    • methodName: string
    • expected: any
    • Optional actual: any
    • Optional cause: any

    Returns TypeMismatchError

Generated using TypeDoc