Protocol

PNG.Error

Functionality common to all library error types.

Declaration

protocol Error:Error

Topics

Propogating errors

var fatal:Never

Halts execution by converting this error into a fatal error.

Type properties

static var namespace:String

A human-readable namespace for this error type.

Required.

Instance properties

var message:String

A human-readable summary of this error.

Required.

var details:String?

An optional human-readable string providing additional details about this error.

Required.

See also

enum PNG.LexingError

A lexing error.

enum PNG.FormattingError

A formatting error.

enum PNG.ParsingError

A parsing error.

enum PNG.DecodingError

A decoding error.

enum LZ77.DecompressionError

A decompression error.