Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Diagnostic

Implements

Index

Constructors

constructor

  • Parameters

    Returns Diagnostic

Properties

Readonly cause

cause: null | Diagnostic

Readonly input

input: Input

Readonly message

message: undefined | string

Readonly note

note: undefined | string

Readonly severity

severity: Severity

Readonly tag

tag: Tag

Methods

display

  • display(output: Output<unknown>): void
  • Parameters

    Returns void

toString

  • Parameters

    Returns string

Static create

  • Parameters

    Returns Diagnostic

  • Parameters

    Returns Diagnostic

  • Parameters

    Returns Diagnostic

Static displayMessage

  • displayMessage(severity: Severity, message: undefined | string, output: Output<unknown>): void
  • Parameters

    • severity: Severity
    • message: undefined | string
    • output: Output<unknown>

    Returns void

Static expected

  • Parameters

    Returns Diagnostic

  • Parameters

    • expected: string | number
    • input: Input
    • note: string
    • Optional cause: null | Diagnostic

    Returns Diagnostic

  • Parameters

    Returns Diagnostic

  • Parameters

    • expected: string | number
    • input: Input
    • Optional severity: Severity
    • Optional note: string
    • Optional cause: null | Diagnostic

    Returns Diagnostic

Static message

  • Parameters

    Returns Diagnostic

  • Parameters

    • message: string
    • input: Input
    • note: string
    • Optional cause: null | Diagnostic

    Returns Diagnostic

  • Parameters

    Returns Diagnostic

  • Parameters

    Returns Diagnostic

Static unexpected

  • Parameters

    Returns Diagnostic

  • Parameters

    Returns Diagnostic

  • Parameters

    Returns Diagnostic

  • Parameters

    Returns Diagnostic

Generated using TypeDoc