FrameworkException

zio.exception.FrameworkException
See theFrameworkException companion object
trait FrameworkException extends Throwable

Attributes

Companion
object
Graph
Supertypes
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def errorCode: String
def message: String
def stacktrace: Option[String]
def status: Int
def toJsonWithFamily: Either[String, Json]

Concrete methods

def addFamily(json: Json, family: String): Either[String, Json]
override def getMessage: String

Attributes

Definition Classes
Throwable
def logMap: Map[String, AnyRef]

logMap: any key value pair that need to be logged as part of the HttpErrorLog but is not required to be part of the error response in the ErrorEnvelope

logMap: any key value pair that need to be logged as part of the HttpErrorLog but is not required to be part of the error response in the ErrorEnvelope

Attributes

def messageParameters: Seq[AnyRef]

messageParameters: values to be substituted in the messages file

messageParameters: values to be substituted in the messages file

Attributes

def toErrorJson: Json

Inherited methods

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

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getCause(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

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

Attributes

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

Attributes

Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable

Attributes

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

Attributes

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

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 thread: Option[String]