Class ValueError
ValueError
is a subclass of Exception
that is raised when sending an improper argument to a function, such as trying to call List.repeat
with a negative amount.
class ValueError < Exception { # From Exception public var @message: String public var @traceback: List[String] }