my.error: Custom Error

View source: R/errors.R

my.errorR Documentation

Custom Error

Description

Creates an error with a custom class.

Usage

my.error(subclass, message, call = sys.call(-1), ...)

Arguments

subclass

String giving the specific type of error.

message

Message to be displayed to the user.

call

Environment where the error ocurred.

...

Other arguments to be passed to the condition function.

Value

Generates a custom error.


matdoering/openPrimeR documentation built on July 4, 2025, 3:59 a.m.