Interface

ErrorMessage

contract.ErrorMessage

Error interface containing the error message. Matches Rust's implementation. Part of implementing Result, a minimal implementation of Rust's Result type. Used for contract methods that return Results, to maintain their distinction from methods that simply either return a value or throw.

View Source lib/contract/rust_result.d.ts, line 38