RAILGUN Reloaded
    Preparing search index...

    The single error class thrown by every helper in this package. Consumers discriminate via err instanceof CryptographyError && err.code === '<code>'.

    Collapsing this to one class with a code field (rather than one subclass per failure mode) keeps the surface and tests small as new modes are added.

    Hierarchy

    • Error
      • CryptographyError
    Index

    The discriminator identifying which failure mode raised this error.