beakr (version 0.3.1)

Error: Error class

Description

An Error object represents the state and handling of instance or middleware errors.

Arguments

Fields

errors

Returns a list of errors, if any.

occured

Returns TRUE if any error has occurred, FALSE otherwise.

Methods

set(err)

Sets an error.

Methods

Public methods

Method set()

Usage

Error$set(err)

Method clone()

The objects of this class are cloneable with this method.

Usage

Error$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

handleErrors and Middleware