Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

getErrors

  • returns primitive error statuses gathered recurrently, returns warnings to.

    Returns IStatus[]

getExtra

  • getExtra(name: string): any
  • Parameters

    • name: string

    Returns any

getMessage

  • getMessage(): string
  • returns human readable message associated with this status

    Returns string

getSource

  • getSource(): any
  • return an object which raised this status

    Returns any

getSubStatuses

  • returns an array of nested statuses

    Returns IStatus[]

getValidationPath

  • Returns IValidationPath

getValidationPathAsString

  • getValidationPathAsString(): string
  • returns path to this status

    Returns string

isError

  • isError(): boolean
  • return true if this status contains a error

    Returns boolean

isOk

  • isOk(): boolean
  • retur2ns true if status does not have errors

    Returns boolean

isWarning

  • isWarning(): boolean
  • return true if this status contains a warning

    Returns boolean

putExtra

  • putExtra(name: string, value: any): void
  • Parameters

    • name: string
    • value: any

    Returns void

Generated using TypeDoc