ErrorTrait
Fully qualified path: oracle::ErrorTrait
pub trait ErrorTrait
Trait functions
custom
Creates a new oracle::Error
with a custom message.
This is useful for oracle-wrapping libraries that need extra error checking in Cairo code.
Fully qualified path: oracle::ErrorTrait::custom
fn custom(message: ByteArray) -> Error