Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PatternMismatch

Expected error for a decoder that wasn't able to match pattern.

Hierarchy

  • PatternMismatch

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

kind

kind: "pattern-mismatch" = "pattern-mismatch"

Type discriminator

pattern

pattern: string

Human readeable description of the pattern that wasn't matched.

Methods

toString

  • toString(): string