p

zio

exception

package exception

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final case class AlreadyExistsException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, json: Json = io.circe.Json.Null) extends Throwable with DataException with Product with Serializable

    This class defines a AlreadyExistsException entity

    This class defines a AlreadyExistsException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    json

    a Json entity

  2. sealed trait AuthException extends Throwable with FrameworkException

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

  3. sealed trait ConfigException extends Throwable with FrameworkException

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

  4. final case class ConfigurationException(error: String, message: String, errorType: ErrorType = ErrorType.ConfigurationError, errorCode: String = "framework.configuration", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with ConfigException with Product with Serializable

    This class defines a ConfigurationException entity

    This class defines a ConfigurationException entity

    error

    a string representing the error

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  5. sealed trait DataException extends Throwable with FrameworkException

    ************************************** Data Exceptions **************************************

  6. final case class DataStorageUndefinedException(message: String, stacktrace: Option[String] = scala.None, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "datastore.missing", status: Int = ErrorCode.InternalServerError) extends Throwable with DataStoreException with Product with Serializable
  7. sealed trait DataStoreException extends Throwable with FrameworkException

    ************************************** DataStore Exceptions **************************************

  8. final case class DecodingFailureException(error: String, message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.decoding", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with JsonException with Product with Serializable

    This class defines a FrameworkDecodingFailure entity

    This class defines a FrameworkDecodingFailure entity

    error

    a string representing the error

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  9. final case class DocumentAlreadyExistsEngineException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, json: Json = io.circe.Json.Null) extends Throwable with DataException with Product with Serializable

    This class defines a DocumentAlreadyExistsEngineException entity

    This class defines a DocumentAlreadyExistsEngineException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    json

    a Json entity

  10. final case class DocumentAlreadyExistsException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, json: Json = io.circe.Json.Null) extends Throwable with DataException with Product with Serializable

    This class defines a DocumentAlreadyExistsException entity

    This class defines a DocumentAlreadyExistsException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    json

    a Json entity

  11. case class ErrorEnvelope(errorType: ErrorType, correlationId: String, errorCode: String, errorMessage: String, details: Map[String, List[ValidationEnvelope]] = ...) extends Product with Serializable
  12. case class ErrorLog(errorType: ErrorType, errorCode: String, errorMessage: String, thread: Option[String], payload: Map[String, String] = ..., details: Map[String, List[ValidationEnvelope]] = ...) extends Product with Serializable
  13. sealed trait ErrorType extends EnumEntry
  14. trait ExceptionFamily extends AnyRef
  15. trait FrameworkException extends Throwable
  16. final case class FrameworkMultipleExceptions(message: String, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "framework.exceptions", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError, exceptions: Seq[GenericFrameworkException] = scala.collection.immutable.Nil) extends Throwable with FrameworkException with Product with Serializable

    This class defines a FrameworkMultipleExceptions entity

    This class defines a FrameworkMultipleExceptions entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

    exceptions

    a list of FrameworkException entities

  17. final case class GenericFrameworkException(error: String, message: String, errorType: ErrorType = ErrorType.UnknownError, errorCode: String = "framework.generic", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with FrameworkException with Product with Serializable

    This class defines a GenericFrameworkException entity

    This class defines a GenericFrameworkException entity

    error

    a string representing the error

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  18. 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]] = ...) extends Product with Serializable
  19. final case class InvalidCredentialsException(error: String, message: String = "credential", errorType: ErrorType = ErrorType.UnknownError, errorCode: String = "auth.generic", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with AuthException with Product with Serializable
  20. final case class InvalidJsonValue(msg: String) extends Exception with Product with Serializable
  21. case class InvalidPermissionStringException(permissionString: String, message: String = "auth.error", errorType: ErrorType = ErrorType.AuthError, errorCode: String = "auth.error", status: Int = ErrorCode.NotFound) extends Throwable with AuthException with Product with Serializable

    This exception is throw if the permission string is malformed

    This exception is throw if the permission string is malformed

    permissionString

    the permission that is not valid

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

  22. final case class InvalidStorageTypeException(error: String, message: String, stacktrace: Option[String] = scala.None, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "datastore.missing", status: Int = ErrorCode.InternalServerError) extends Throwable with DataStoreException with Product with Serializable
  23. final case class InvalidValueException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.invalidparameter", status: Int = ErrorCode.BadRequest, json: Json = io.circe.Json.Null) extends Throwable with DataException with Product with Serializable

    This class defines a InvalidValueException entity

    This class defines a InvalidValueException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    json

    a Json entity

  24. sealed trait JsonException extends Throwable with FrameworkException

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

  25. final case class MissingFieldException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", status: Int = ErrorCode.NotFound, json: Json = io.circe.Json.Null) extends Throwable with DataException with Product with Serializable

    This class defines a MissingFieldException entity

    This class defines a MissingFieldException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    json

    a Json entity

  26. final case class MissingRecordException(error: String, message: String = "Missing Record", errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "record.missing", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.NotFound) extends Throwable with DataException with Product with Serializable

    This class defines a MissingRecordException entity

    This class defines a MissingRecordException entity

    error

    a string representing the error

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  27. final case class MissingScriptException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "scripting.missing", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.NotFound) extends Throwable with ScriptingException with Product with Serializable

    This class defines a MissingScriptException entity

    This class defines a MissingScriptException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  28. final case class MissingValueException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", status: Int = ErrorCode.NotFound, json: Json = io.circe.Json.Null) extends Throwable with DataException with Product with Serializable

    This class defines a MissingValueException entity

    This class defines a MissingValueException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    json

    a Json entity

  29. final case class NoServerAvailableException(message: String, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "framework.noserver", status: Int = ErrorCode.InternalServerError, stacktrace: Option[String] = scala.None, json: Json = io.circe.Json.Null) extends Throwable with DataException with Product with Serializable

    This class defines a NoServerAvailableException entity

    This class defines a NoServerAvailableException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    stacktrace

    the stacktrace of the exception

    json

    a Json entity

  30. final case class NoTypeParserException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.NotFound) extends Throwable with DataException with Product with Serializable

    Exceptions used in parsing values

    Exceptions used in parsing values

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  31. final case class NotFoundException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", status: Int = ErrorCode.NotFound, json: Json = io.circe.Json.Null) extends Throwable with DataException with Product with Serializable

    This class defines a NotFoundException entity

    This class defines a NotFoundException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    json

    a Json entity

  32. final case class NotUniqueValueException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.notunique", status: Int = ErrorCode.BadRequest, json: Json = io.circe.Json.Null) extends Product with Serializable

    This class defines a NotUniqueValueException entity

    This class defines a NotUniqueValueException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    json

    a Json entity

  33. final case class ParsingFailureException(error: String, message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.jsonparsing", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with JsonException with Product with Serializable

    This class defines a ConfigurationSourceException entity

    This class defines a ConfigurationSourceException entity

    error

    a string representing the error

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  34. final case class PropertyNotFoundException(message: String, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "config.error", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with ConfigException with Product with Serializable

    This class defines a PropertyNotFoundException entity

    This class defines a PropertyNotFoundException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  35. final case class RecordProcessingException(error: String, message: String = "Processing Record Exception", errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "record.processing", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with DataException with Product with Serializable

    This class defines a RecordProcessingException entity

    This class defines a RecordProcessingException entity

    error

    a string representing the error

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  36. final case class ScriptingEngineNotFoundException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "scripting.missing", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.NotFound) extends Throwable with ScriptingException with Product with Serializable

    This class defines a ScriptingEngineNotFound entity

    This class defines a ScriptingEngineNotFound entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  37. sealed trait ScriptingException extends Throwable with FrameworkException
  38. final case class SimpleThrowable(message: String, type: String, stacktrace: Option[String] = scala.None, cause: Option[String] = scala.None) extends Product with Serializable

    This class defines a SimpleThrowable entity

    This class defines a SimpleThrowable entity

    message

    the error message

    type

    the type of the SimpleThrowable entity

    stacktrace

    the stacktrace of the exception

    cause

    the cause of the exception

  39. final case class UnhandledFrameworkException(error: String, message: String, errorType: ErrorType = ErrorType.UnknownError, errorCode: String = "framework.generic", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with FrameworkException with Product with Serializable

    This class defines a UnhandledFrameworkException entity

    This class defines a UnhandledFrameworkException entity

    error

    a string representing the error

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

  40. case class UserNotFoundException(userId: String, message: String = "auth.error", errorType: ErrorType = ErrorType.AuthError, errorCode: String = "auth.error", status: Int = ErrorCode.NotFound) extends Throwable with AuthException with Product with Serializable

    This class defines a UserNotFoundException entity

    This class defines a UserNotFoundException entity

    userId

    an User Id

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

  41. case class UserPropertyNotFoundException(userId: String, property: String, message: String = "auth.error", errorType: ErrorType = ErrorType.AuthError, errorCode: String = "auth.error", status: Int = ErrorCode.NotFound) extends Throwable with AuthException with Product with Serializable

    This exception is thrown when a property is missing

    This exception is thrown when a property is missing

    userId

    an User Id

    property

    a property to look for

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

  42. case class ValidationEnvelope(key: String, message: String) extends Product with Serializable
  43. final case class ValidationErrorException(field: String, message: String, status: Int = ErrorCode.InternalServerError, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "validation.error") extends Throwable with FrameworkException with Product with Serializable
  44. final case class VersionConflictEngineException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, json: Json = io.circe.Json.Null) extends Throwable with DataException with Product with Serializable

    This class defines a VersionConflictEngineException entity

    This class defines a VersionConflictEngineException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    status

    HTTP Error Status

    json

    a Json entity

  45. final case class WriteException(message: String, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "datastore.write", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with DataStoreException with Product with Serializable

    This class defines a WriteException entity

    This class defines a WriteException entity

    message

    the error message

    errorType

    the errorType

    errorCode

    a string grouping common application errors

    stacktrace

    the stacktrace of the exception

    status

    HTTP Error Status

Value Members

  1. object AlreadyExistsException extends Serializable
  2. object AuthException extends ExceptionFamily with Serializable
  3. object ConfigException extends ExceptionFamily with Serializable
  4. object ConfigurationException extends Serializable
  5. object DataException extends ExceptionFamily with Serializable
  6. object DataStorageUndefinedException extends Serializable
  7. object DataStoreException extends ExceptionFamily with Serializable
  8. object DecodingFailureException extends Serializable
  9. object DocumentAlreadyExistsEngineException extends Serializable
  10. object DocumentAlreadyExistsException extends Serializable
  11. object ErrorCode
  12. object ErrorEnvelope extends Serializable
  13. object ErrorLog extends Serializable
  14. object ErrorType extends Enum[ErrorType] with CirceEnum[ErrorType] with Product with Serializable
  15. object FrameworkException extends Serializable
  16. object FrameworkMultipleExceptions extends Serializable
  17. object GenericFrameworkException extends Serializable
  18. object HttpErrorLog extends Serializable
  19. object InvalidCredentialsException extends Serializable
  20. object InvalidPermissionStringException extends Serializable
  21. object InvalidStorageTypeException extends Serializable
  22. object InvalidValueException extends Serializable
  23. object JsonException extends ExceptionFamily with Serializable
  24. object MissingFieldException extends Serializable
  25. object MissingRecordException extends Serializable
  26. object MissingScriptException extends Serializable
  27. object MissingValueException extends Serializable
  28. object NoServerAvailableException extends Serializable
  29. object NoTypeParserException extends Serializable
  30. object NotFoundException extends Serializable
  31. object NotUniqueValueException extends Serializable
  32. object ParsingFailureException extends Serializable
  33. object PropertyNotFoundException extends Serializable
  34. object RecordProcessingException extends Serializable
  35. object ScriptingEngineNotFoundException extends Serializable
  36. object ScriptingException extends ExceptionFamily with Serializable
  37. object SimpleThrowable extends Serializable
  38. object UnhandledFrameworkException extends Serializable
  39. object UserNotFoundException extends Serializable
  40. object UserPropertyNotFoundException extends Serializable
  41. object ValidationEnvelope extends Serializable
  42. object ValidationErrorException extends Serializable
  43. object VersionConflictEngineException extends Serializable
  44. object WriteException extends Serializable

Ungrouped