GlobalExceptionHandler

@ControllerAdvice
@ConditionalOnProperty(prefix = "cryptotrader.exceptions", name = "enabled", havingValue = "true", matchIfMissing = true)
open class GlobalExceptionHandler

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@ExceptionHandler(value = [Exception::class])
open fun handleAnyException(exception: Exception)