UnsafeJson

zio.json.JsonDecoder.UnsafeJson
final case class UnsafeJson(trace: List[JsonError]) extends Exception, NoStackTrace

Design note: we could require the position in the stream here to improve debugging messages. But the cost would be that the RetractReader would need to keep track and any wrappers would need to preserve the position. It may still be desirable to do this but at the moment it is not necessary.

Attributes

Graph
Supertypes
trait Product
trait Equals
trait NoStackTrace
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
override def fillInStackTrace(): Throwable

Attributes

Definition Classes
NoStackTrace -> Throwable
Inherited from:
NoStackTrace

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 productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Attributes

Inherited from:
NoStackTrace
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