GenericFrameworkException

zio.exception.GenericFrameworkException
See theGenericFrameworkException companion object
final case class GenericFrameworkException(error: String, message: String, errorType: ErrorType, errorCode: String, stacktrace: Option[String], status: Int, subException: Option[FrameworkException]) extends FrameworkException

This class defines a GenericFrameworkException entity

Value parameters

error

a string representing the error

errorCode

a string grouping common application errors

errorType

the errorType

message

the error message

stacktrace

the stacktrace of the exception

status

HTTP Error Status

Attributes

Companion
object
Graph
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toJsonWithFamily: Either[String, Json]

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
FrameworkException
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
override def getMessage: String

Attributes

Definition Classes
FrameworkException -> Throwable
Inherited from:
FrameworkException
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 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

Inherited from:
FrameworkException
def messageParameters: Seq[AnyRef]

messageParameters: values to be substituted in the messages file

messageParameters: values to be substituted in the messages file

Attributes

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

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

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

Attributes

Inherited from:
Throwable
def toErrorJson: Json

Attributes

Inherited from:
FrameworkException

Attributes

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

Inherited fields

val thread: Option[String]

Attributes

Inherited from:
FrameworkException