CanThrow

scala.CanThrow
erased class CanThrow[-E <: Exception]

A capability class that allows to throw exception E. When used with the experimental.saferExceptions feature, a throw Ex() expression will require a given of class CanThrow[Ex] to be available.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view