Enum routing::client_errors::MutationError [] [src]

pub enum MutationError {
    NoSuchAccount,
    AccountExists,
    NoSuchData,
    DataExists,
    DataTooLarge,
    LowBalance,
    InvalidSuccessor,
    InvalidOperation,
    NetworkFull,
    NetworkOther(String),
}

Errors in Put/Post/Delete (mutating) operations involving Core and Vaults

Variants

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

Insufficient balance for performing a given mutating operation

Invalid successor for performing a given mutating operation, e.g. signature mismatch or invalid data versioning

Invalid Operation such as a POST on ImmutableData

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 MutationError
[src]

Formats the value using the given formatter.

impl Clone for MutationError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for MutationError
[src]

impl PartialEq for MutationError
[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 MutationError
[src]

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

impl PartialOrd for MutationError
[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 MutationError
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Encodable for MutationError
[src]

Serialize a value using an Encoder.

impl Decodable for MutationError
[src]

Deserialize a value using a Decoder.

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

Performs the conversion.

impl Display for MutationError
[src]

Formats the value using the given formatter.

impl Error for MutationError
[src]

A short description of the error. Read more

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