pendzl_contracts 1.0.2

Reusable implementations of contracts and traits for interaction with them.
Documentation
1
2
3
4
5
6
7
8
9
10
// Copyright (c) 2024 C Forge. All Rights Reserved.
// SPDX-License-Identifier: MIT

/// Represents errors in ownership-related operations.
#[derive(Debug, PartialEq, Eq, scale::Encode, scale::Decode)]
#[cfg_attr(feature = "std", derive(scale_info::TypeInfo))]
pub enum OwnableError {
    /// Error when the caller is not the current owner.
    CallerIsNotOwner,
}