drink 0.18.0

Minimal sufficient architecture that allows for a fully functional ink! contract development
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

use crate::session::mock::Selector;

/// Error type for mocking operations.
#[derive(Error, Debug)]
pub enum MockingError {
    #[error("Message not found (unknown selector: {0:?})")]
    MessageNotFound(Selector),
    #[error("Decoding message arguments failed: {0:?}")]
    ArgumentDecoding(parity_scale_codec::Error),
}