BC-DCBOR TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function errorMsg

    • Create a custom error with a message.

      Matches Rust's Error::msg() method.

      Parameters

      • message: string

      Returns Error