AvroFailureException

dev.constructive.eo.avro.AvroFailureException
final class AvroFailureException(val failure: AvroFailure) extends RuntimeException

Carries an AvroFailure as a Throwable, so an effectful reader (e.g. ConfluentWire.reader under a MonadThrow[F]) can raiseError the structured failure into F's error channel. The pure surface keeps returning Either[AvroFailure, …]; this is only the bridge to an F that fails.

Attributes

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

Members list

Value members

Inherited methods

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

Attributes

Inherited from:
Throwable
Source
Throwable.sig
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
Source
Throwable.sig
def getCause(): Throwable

Attributes

Inherited from:
Throwable
Source
Throwable.sig
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
Source
Throwable.sig
def getMessage(): String

Attributes

Inherited from:
Throwable
Source
Throwable.sig
def getStackTrace(): Array[StackTraceElement]

Attributes

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

Attributes

Inherited from:
Throwable
Source
Throwable.sig
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
Source
Throwable.sig
def printStackTrace(x$0: PrintWriter): Unit

Attributes

Inherited from:
Throwable
Source
Throwable.sig
def printStackTrace(x$0: PrintStream): Unit

Attributes

Inherited from:
Throwable
Source
Throwable.sig
def printStackTrace(): Unit

Attributes

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

Attributes

Inherited from:
Throwable
Source
Throwable.sig
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
Source
Throwable.sig

Concrete fields

Attributes

Source
AvroFailure.scala