Enum takuzu::GridParseError [] [src]

pub enum GridParseError {
    CreationError(GridErrorArray),
    UnexpectedCharacter,
}

An error returned when parsing a string to create a grid failed.

Variants

CreationError(GridErrorArray)

A Grid cannot be created from this Array.

UnexpectedCharacter

At least one character other than 0, 1, . or \n was found in the string.

Trait Implementations

impl Debug for GridParseError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for GridParseError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for GridParseError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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