Error {beakr}R Documentation

Error class

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


[Package beakr version 0.4.3 Index]