Docs.rs
  • casper-executor-wasm-common-0.1.1
    • casper-executor-wasm-common 0.1.1
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • casperlabs-drone
    • sacherjj
    • Dependencies
      • bitflags ^2.9 normal
      • blake2 ^0.10 normal
      • borsh ^1.5 normal
      • casper-contract-sdk-sys ^0.1.1 normal
      • num-derive ^0.4.2 normal
      • num-traits ^0.2.19 normal
      • safe-transmute ^0.11 normal
      • thiserror ^2 normal
      • hex ^0.4 dev
      • serde ^1 normal
    • Versions
    • 74% of the crate is documented
  • This release has been yanked, go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

casper_executor_wasm_common0.1.1

Module error

Module Items

  • Enums
  • Constants
  • Functions

In crate casper_executor_wasm_common

casper_executor_wasm_common

Module error

Source
Expand description

Error code for signaling error while processing a host function.

API inspired by std::io::Error and std::io::ErrorKind but somewhat more memory efficient.

Enums§

CallError
Represents the result of a host function call.
CommonResult
TrapCode
Wasm trap code.

Constants§

CALLEE_GAS_DEPLETED
CALLEE_HOST_ERROR
CALLEE_NOT_CALLABLE
CALLEE_REVERTED
CALLEE_SUCCEEDED
CALLEE_TRAPPED
HOST_ERROR_INTERNAL
HOST_ERROR_INVALID_DATA
HOST_ERROR_INVALID_INPUT
HOST_ERROR_MAX_MESSAGES_PER_BLOCK_EXCEEDED
HOST_ERROR_MESSAGE_TOPIC_FULL
HOST_ERROR_NOT_FOUND
HOST_ERROR_PAYLOAD_TOO_LONG
HOST_ERROR_SUCCESS
HOST_ERROR_TOO_MANY_TOPICS
HOST_ERROR_TOPIC_TOO_LONG

Functions§

result_from_code