find_error_class: Find error classes

View source: R/find_error_class.R

find_error_classR Documentation

Find error classes

Description

Find error classes

Usage

find_error_class(status_code)

Arguments

status_code

(numeric,integer) A status code

Value

an object of class R6ClassGenerator. call $new() to initialize a new instance

See Also

Error, Error-Classes

Examples

find_error_class(414)
find_error_class(418)
find_error_class(505)

# initialize the class
find_error_class(418)$new()

# not found
## Not run: find_error_class(999)

ropenscilabs/fauxpas documentation built on Oct. 18, 2023, 8:05 a.m.