RejectedException

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

Represents an exception that occurs when a request is rejected.

This exception is thrown when a request is rejected due to a specific condition or circumstance.

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.

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 override val code: String
Link copied to clipboard
open override val httpStatus: HttpStatus
Link copied to clipboard
open override val message: String