find_error_class: Find error classes

Description Usage Arguments Value See Also Examples

View source: R/find_error_class.R

Description

Find error classes

Usage

1
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

1
2
3
4
5
6
7
8
9
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)

fauxpas documentation built on April 14, 2020, 7:16 p.m.