.stop | R Documentation |
Customized stop() function
.stop(code, info = NULL, msg = NULL)
code |
character; Error code. |
info |
character; Additional information used in some error codes. |
msg |
character; |
Does not have any return value, simply throws an error!
THIS ERROR SHOULD NEVER HAPPEN!!!
############################## ## !!ERROR CODE NOT FOUND!! ## ############################## requested error code: <info[1]>
RCX object requires edges to be converted to an graphNEL object!
Provided IDs (<info[1]>) must be non-neagtive!
Provided IDs (<info[1]>) must be numeric!
Provided IDs of <info[1]> don't exist in <info[2]>
<info[1]> not present as <info[2]>
RCX object requires edges to be converted to an igraph object!
At least one argument of <info[1]> must be set!
Arguments must have the same length! <info[1]>
Not all elements of the list <info[1]> are of class "<info[2]>"!
Missing arguments: <info[1]>
RCX object is missing!
Argument <info[1]> must not contain any NA values!
All elements of <info[1]> must be non-neagtive!
All elements of <info[1]> must be characters!
Argument <info[1]> must be a list!
All elements of <info[1]> must be logical!
Object <info[1]> must have names!
All elements of <info[1]> must be numeric!
Elements of <info[1]> must not contain duplicates!
Argument <info[1]> only can take following values: <info[2]>
Aspect (<info[1]>) failed validation! Check if the aspect is valid: validate(<info[1]>)
Class of object <info[1]> is not "<info[2]>"!
Class of object <info[1]> is not one of <info[2]>!
Internal function only for convenience
## Not run: .stop("paramMissingRCX") #Error: .stop # RCX object is missing! .stop("paramNotUnique","idParamName") #Error: .stop # Provided IDs (idParamName) contain duplicates! .stop("wrongClass",c("nodesAspect", "NodesAspect")) #Error: .stop # Class of object "nodesAspect" is not "NodesAspect"! ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.