Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ErrorImpl

Fully qualified path: oracle::ErrorImpl

pub impl ErrorImpl of ErrorTrait;

Impl 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::ErrorImpl::custom

fn custom(message: ByteArray) -> Error