Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExpectedMatch

Error for an exact match that failed. The expectation is described as a string.

Hierarchy

  • ExpectedMatch

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

entity

entity: Entity

type of the entity to be matched

kind

kind: "expected-match" = "expected-match"

Type discriminator

value

value: string

Human readable description of the missed match.

Methods

toString

  • toString(): string
  • Provides a human readable representation of the value. Mostly for debugging.

    Returns string