[
library(error)
|
Reference Manual
|
Alphabetic Index
]
type_error(?Type, ?Culprit)
throw error(type_error(Type,Culprit), _)
Type
Specification of the expected type
Culprit
The term that caused the error
Examples
type_error(list, [foo|bar])