Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Err"

Index

Classes

Functions

Functions

Const err

  • err<E, A>(e: E): Result<E, A>
  • A convenience function for creating a new Err.

    Type parameters

    • E

    • A

    Parameters

    • e: E

    Returns Result<E, A>

Generated using TypeDoc