Introduction
User Guide
Installation
Testing
Scripts
Modules
Accounts
Commands
Context
Expect
Fe
Format
Fs
Gas
Huff
Json
Results & Errors
Requests
Utils
Others
❱
Config
Console
Env
Events
Forks
RPC
Strings
References
Accounts
Commands
Config
Context
Env
Error
Events
Expect
Fe
Fmt
Forks
Fs
Gas
Huff
Invariants
Json
Pointer
Result
Semver
Strings
Utils
Vulcan
Watchers
Light (default)
Rust
Coal
Navy
Ayu
Error
Custom types
Error
type Error is bytes32;
LibError
toPointer(Error err) → (Pointer)
decode(Error err) → (bytes32 id, string message, bytes data)
encodeError(function fn, string message) → (Error err)
toErrorId(function fn) → (bytes32 id)
matches(Error err, function fn) → (bool)
decodeAs(Error, function)
encodeError(function fn, string message, uint256 p0) → (Error err)
toErrorId(function fn) → (bytes32 id)
matches(Error err, function fn) → (bool)
decodeAs(Error err, function) → (uint256)
encodeError(function fn, string message, string p0) → (Error err)
toErrorId(function fn) → (bytes32 id)
matches(Error err, function fn) → (bool)
decodeAs(Error err, function) → (string)
toStringResult(Error self) → (StringResult)
toBytesResult(Error self) → (BytesResult)
toBoolResult(Error self) → (BoolResult)