zio.exception

package zio.exception

Members list

Type members

Classlikes

sealed trait ConfigException extends FrameworkException

************************************** Config Exceptions

************************************** Config Exceptions

Attributes

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

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
final case class ConfigurationException(error: String, message: String, errorType: ErrorType, errorCode: String, stacktrace: Option[String], status: Int) extends ConfigException

This class defines a ConfigurationException entity

This class defines a ConfigurationException 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
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class DecodingFailureException(error: String, message: String, errorType: ErrorType, errorCode: String, stacktrace: Option[String], status: Int) extends JsonException

This class defines a FrameworkDecodingFailure entity

This class defines a FrameworkDecodingFailure 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
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object ErrorCode

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ErrorCode.type
final case class ErrorEnvelope(errorType: ErrorType, correlationId: String, errorCode: String, errorMessage: String, details: Map[String, List[ValidationEnvelope]])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ErrorLog(errorType: ErrorType, errorCode: String, errorMessage: String, thread: Option[String], payload: Map[String, String], details: Map[String, List[ValidationEnvelope]])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ErrorLog.type
sealed trait ErrorType

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AccessDeniedError.type
object AuthError.type
object ConfigurationError.type
object DBError.type
object MetricError.type
object ProcessingError.type
object SchemaError.type
object ServerError.type
object ServiceError.type
object StoreError.type
object UnknownError.type
object ValidationError.type
Show all
case object ErrorType

Attributes

Companion
trait
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
ErrorType.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ConfigException.type
object JsonException.type
trait FrameworkException extends Throwable

Attributes

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final case class FrameworkMultipleExceptions(message: String, errorType: ErrorType, errorCode: String, stacktrace: Option[String], status: Int, exceptions: Seq[GenericFrameworkException]) extends FrameworkException

This class defines a FrameworkMultipleExceptions entity

This class defines a FrameworkMultipleExceptions entity

Value parameters

errorCode

a string grouping common application errors

errorType

the errorType

exceptions

a list of FrameworkException entities

message

the error message

stacktrace

the stacktrace of the exception

status

HTTP Error Status

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
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

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
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class HttpErrorLog(method: String, uri: String, errorType: ErrorType, errorCode: String, errorMessage: String, thread: Option[String], payload: Map[String, String], validationPayload: Map[String, List[ValidationEnvelope]])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class InvalidParameterException(message: String, errorType: ErrorType, errorCode: String, status: Int, json: Json, stacktrace: Option[String]) extends FrameworkException

This class defines a InvalidParameter entity

This class defines a InvalidParameter entity

Value parameters

errorCode

a string grouping common application errors

errorType

the errorType

json

a Json entity

message

the error message

status

HTTP Error Status

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class JsonDecodingException(message: String, errorType: ErrorType, errorCode: String, status: Int, json: Json, stacktrace: Option[String]) extends FrameworkException

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait JsonException extends FrameworkException

************************************** AUTH Exceptions

************************************** AUTH Exceptions

Attributes

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

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
final case class ParsingFailureException(error: String, message: String, errorType: ErrorType, errorCode: String, stacktrace: Option[String], status: Int) extends JsonException

This class defines a ConfigurationSourceException entity

This class defines a ConfigurationSourceException 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
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class PropertyNotFoundException(message: String, errorType: ErrorType, errorCode: String, stacktrace: Option[String], status: Int) extends ConfigException

This class defines a PropertyNotFoundException entity

This class defines a PropertyNotFoundException entity

Value parameters

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
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class SimpleThrowable(message: String, `type`: String, stacktrace: Option[String], cause: Option[String])

This class defines a SimpleThrowable entity

This class defines a SimpleThrowable entity

Value parameters

cause

the cause of the exception

message

the error message

stacktrace

the stacktrace of the exception

type

the type of the SimpleThrowable entity

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object TraverseUtils

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class UnhandledFrameworkException(error: String, message: String, errorType: ErrorType, errorCode: String, stacktrace: Option[String], status: Int) extends FrameworkException

This class defines a UnhandledFrameworkException entity

This class defines a UnhandledFrameworkException 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
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ValidationEnvelope(key: String, message: String)

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ValidationErrorException(field: String, message: String, status: Int, stacktrace: Option[String], errorType: ErrorType, errorCode: String) extends FrameworkException

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type