Class ValueError

(builtin) 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.

Methods

define <new>(message: String): ValueError constructor