RustyOpus.Error exception (rusty_opus v0.3.3)

Copy Markdown View Source

A stable, tagged Opus/encode-decode error.

Every error surfaced across the Rust boundary is represented as a RustyOpus.Error with a documented :reason and a human-readable :message.

Summary

Types

t()

@type t() :: %RustyOpus.Error{
  __exception__: term(),
  message: String.t(),
  reason: atom() | String.t()
}