Module error

Source
Expand description

Error handling utilities for the Neo N3 SDK.

Functionsยง

option_to_result
Converts an Option to a Result with a custom error message.
result_to_option
Converts a Result to an Option, logging the error if present.
retry
Attempts to execute a fallible operation multiple times before giving up.
with_context
Adds context to an error.