Enum routing::ClientError [] [src]

pub enum ClientError {
    AccessDenied,
    NoSuchAccount,
    AccountExists,
    NoSuchData,
    DataExists,
    DataTooLarge,
    NoSuchEntry,
    TooManyEntries,
    InvalidEntryActions(BTreeMap<Vec<u8>, EntryError>),
    NoSuchKey,
    InvalidOwners,
    InvalidSuccessor(u64),
    InvalidOperation,
    InvalidInvitation,
    InvitationAlreadyClaimed,
    LowBalance,
    NetworkFull,
    NetworkOther(String),
}

Errors in operations involving Core and Vaults

Variants

Access is denied for a given requester

SAFE Account does not exist for client

Attempt to take an account network name that already exists

Requested data not found

Attempt to create a mutable data when data with such a name already exists

Attempt to create/post a data exceeds size limit

Requested entry not found

Exceeded a limit on a number of entries

Some entry actions are not valid.

Key does not exist

The list of owner keys is invalid

Invalid version for performing a given mutating operation. Contains the current data version.

Invalid Operation such as a POST on ImmutableData

Wrong invitation token specified by the client

Invitation token already used

Insufficient balance for performing a given mutating operation

The loss of sacrificial copies indicates the network as a whole is no longer having enough space to accept further put request so have to wait for more nodes to join

Network error occurring at Vault level which has no bearing on clients, e.g. serialisation failure or database failure

Trait Implementations

impl Debug for ClientError
[src]

Formats the value using the given formatter.

impl Clone for ClientError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ClientError
[src]

impl PartialEq for ClientError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Ord for ClientError
[src]

This method returns an Ordering between self and other. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl PartialOrd for ClientError
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for ClientError
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: Into<String>> From<T> for ClientError
[src]

Performs the conversion.

impl Display for ClientError
[src]

Formats the value using the given formatter. Read more

impl Error for ClientError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more