AbstractM8tyException

abstract class AbstractM8tyException(val message: String, val code: String, val httpStatus: HttpStatus) : RuntimeException

Represents an abstract m8ty exception.

This exception is a base class for specific m8ty exceptions and provides common properties and behaviors.

Parameters

message

The detail message explaining the exception.

code

The error code associated with the exception.

httpStatus

The HTTP status code associated with the exception.

Inheritors

Constructors

Link copied to clipboard
constructor(message: String, code: String, httpStatus: HttpStatus)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val code: String
Link copied to clipboard
open val httpStatus: HttpStatus
Link copied to clipboard
open override val message: String