NAME

WWW::Liquidweb::Lite::Error - Error handling for WWW::Liquidweb::Lite

SUBROUTINES/METHODS

new

Returns an error object

USAGE

ARGUMENT	DESCRIPTION
---
type		Describes the variety of failure occurred. Potential
		values could be 'perl error', or basic http error
		codes such as '404', '500', e.t.c.
			[DEFAULTS: 'fail']

category	Describes what actually failed. Potential values
		could be 'http request', 'http auth', or something
		specific to your application like 'foobar api error'.
			[DEFAULTS: 'object' (assumes something is wrong with
			WWW::Liquidweb::Lite unless told otherwise)]

message		Describes the specifics of what actually occurred for
		a user to read.
			[DEFAULTS: 'unknown']
---

category

Helper method to retrieve or set the error category.

message

Helper method to retrieve or set the error message.

type

Helper method to retrieve or set the error type.

throw

Die, put a stack trace into the object, and return it.

USAGE

Forwards to new.

ARGUMENT	DESCRIPTION
---
type		Describes the variety of failure occurred. Potential
		values could be 'perl error', or basic http error
		codes such as '404', '500', e.t.c.
			[DEFAULTS: 'fail']

category	Describes what actually failed. Potential values
		could be 'http request', 'http auth', or something
		specific to your application like 'foobar api error'.
			[DEFAULTS: 'object' (assumes something is wrong with
			WWW::Liquidweb::Lite unless told otherwise)]

message		Describes the specifics of what actually occurred for
		a user to read.
			[DEFAULTS: 'unknown']
---