Error to be thrown in a default block of an exhaustive switch-case block, if checked value has a finite amount of possible values (e.g enum). This error has a very low chance to actually be thrown. Instead, it is used by IDE to give an indication of which possible value is not covered by switch-case and will result in a failed build.

Hierarchy

  • Error
    • UnreachableCaseError

Constructors

Constructors

Generated using TypeDoc