StreamError

zio.blocks.streams.internal.StreamError
final class StreamError extends Exception

Wraps a non-Throwable error value so it can propagate through the Reader/SyncInterpreter stack via exceptions. Used by zio.blocks.streams.Stream.fail and caught by zio.blocks.streams.Stream.run. The 4th constructor arg (writableStackTrace=false) disables stack trace capture for performance.

Attributes

Source
StreamError.scala
Graph
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(value: Any)

Attributes

Source
StreamError.scala

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

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
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def setStackTrace(x$0: Array[StackTraceElement]): Unit

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

Concrete fields

val value: Any

Attributes

Source
StreamError.scala