Error: Error class

Description Fields Methods Methods See Also

Description

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

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


beakr documentation built on April 7, 2021, 1:06 a.m.