ReturnThrowable

scala.util.control.NonLocalReturns.ReturnThrowable

Attributes

Deprecated
[Since version 3.3] Use scala.util.boundary.Break instead
Source
NonLocalReturns.scala
Graph
Supertypes
trait Control
trait Classifier
trait Capability
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def result: T

Attributes

Source
NonLocalReturns.scala
def throwReturn(result: T): Nothing

Attributes

Source
NonLocalReturns.scala

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable