sp_runtime

Constant MAX_MODULE_ERROR_ENCODED_SIZE

source
pub const MAX_MODULE_ERROR_ENCODED_SIZE: usize = 4;
Expand description

The number of bytes of the module-specific error field defined in ModuleError. In FRAME, this is the maximum encoded size of a pallet error type.