Options
All
  • Public
  • Public/Protected
  • All
Menu

Module errors

Index

Variables

Const ColorNotFoundError

ColorNotFoundError: (...a: type.Optional<string>[]) => Throwable = Throwable.fn(ColorNotFoundState, "cannot found any color in builder")

Type declaration

    • (...a: type.Optional<string>[]): Throwable
    • Parameters

      • Rest ...a: type.Optional<string>[]

      Returns Throwable

Const ColorNotFoundState

ColorNotFoundState: ThrowState = InvalidateColorState.next()

Const InvalidateColorError

InvalidateColorError: (...a: type.Optional<string>[]) => Throwable = Throwable.fn(InvalidateColorState, "color(id='%s', raw='%s') is invalid")

Type declaration

    • (...a: type.Optional<string>[]): Throwable
    • Parameters

      • Rest ...a: type.Optional<string>[]

      Returns Throwable

Const InvalidateColorState

InvalidateColorState: ThrowState = new ThrowState(ThrowStateType.ERROR, 3, "Color error")

Const TypeNotFoundError

TypeNotFoundError: (...a: type.Optional<string>[]) => Throwable = Throwable.fn(TypeNotFoundState, "input(%s) isn't have 'type' key")

Type declaration

    • (...a: type.Optional<string>[]): Throwable
    • Parameters

      • Rest ...a: type.Optional<string>[]

      Returns Throwable

Const TypeNotFoundState

TypeNotFoundState: ThrowState = new ThrowState(ThrowStateType.ERROR, 2, "Type not found")

Generated using TypeDoc