[][src]Module holochain_core_types::error

This module contains Error type definitions that are used throughout Holochain, and the Ribosome in particular, which is responsible for mounting and running instances of DNA, and executing WASM code.

Structs

CoreError

Holochain Core Error struct Any Error in Core should be wrapped in a CoreError so it can be passed to the Zome and back to the Holochain Instance via wasm memory. Follows the Error + ErrorKind pattern Holds extra debugging info for indicating where in code ther error occured.

RibosomeEncodedAllocation
ZomeApiInternalResult

Enums

DnaError
HolochainError

TODO rename to CoreErrorKind Enum holding all Holochain Core errors

RibosomeEncodedValue

Represents all possible values passed to/from wasmi functions All wasmi functions are I64 values

RibosomeErrorCode

Enum of all possible ERROR codes that a Zome API Function could return.

Type Definitions

HcResult
RibosomeCodeBits

size of the integer that represents a ribosome code

RibosomeEncodingBits

size of the integer that encodes ribosome codes

RibosomeRuntimeBits

size of the integer that wasm sees