tock / ai.tock.shared.vertx / RestException

RestException

open class RestException : Exception (source)

Base class for rest exceptions.

Constructors

<init>

Base class for rest exceptions.

RestException(message: String, code: Int = 500)

Properties

code

val code: Int

Inheritors

BadRequestException

Http 400 exception.

class BadRequestException : RestException

NotFoundException

Http 404 exception.

class NotFoundException : RestException

UnauthorizedException

Http 401 exception.

class UnauthorizedException : RestException