neo3/neo_utils/
mod.rs

1//! # Neo Utilities (v0.1.8)
2//!
3//! Utility functions and types for the NeoRust SDK.
4//!
5//! ## Overview
6//!
7//! The neo_utils module provides various utility functions and types that are used throughout the SDK.
8//! These utilities include:
9//!
10//! - Error types and handling utilities
11//! - Common helper functions
12//! - Conversion utilities
13//! - Formatting utilities
14//!
15//! This module serves as a foundation for the more specialized modules in the SDK.
16//!
17//! ## Examples
18//!
19//! ```rust
20//! use neo3::neo_error::NeoError;
21//!
22//! // Error handling with specific error types
23//! fn example() -> Result<(), NeoError> {
24//!     // Create and return a specific error
25//!     let some_condition = true;
26//!     if some_condition {
27//!         return Err(NeoError::Generic { message: "Invalid format".to_string() });
28//!     }
29//!     
30//!     Ok(())
31//! }
32//! ```
33
34pub mod error;