Learn R Programming

fauxpas (version 0.5.2)

find_error_class: Find error classes

Description

Find error classes

Usage

find_error_class(status_code)

Value

an object of class R6ClassGenerator. call $new()

to initialize a new instance

Arguments

status_code

(numeric,integer) A status code

See Also

Error, Error-Classes

Examples

Run this code
find_error_class(414)
find_error_class(418)
find_error_class(505)

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

# not found
if (FALSE) find_error_class(999)

Run the code above in your browser using DataLab