Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
object ErrorCodes
Link copied to clipboard
class NotFoundResourceException(errorMsg: String = ErrorCodes.NOT_FOUND_MESSAGE) : WowException
Link copied to clipboard
Link copied to clipboard

RecoverableException can be recovered by retrying.

Link copied to clipboard
open class WowException(val errorCode: String, errorMsg: String, cause: Throwable? = null, val bindingErrors: List<BindingError> = emptyList()) : RuntimeException, ErrorInfo

Properties

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Retry?.recoverable(throwableClass: Class<out Throwable>): RecoverableType
Link copied to clipboard
fun <T> Flux<T>.throwNotFoundIfEmpty(errorMsg: String = ErrorCodes.NOT_FOUND_MESSAGE): Flux<T>
fun <T> Mono<T>.throwNotFoundIfEmpty(errorMsg: String = ErrorCodes.NOT_FOUND_MESSAGE): Mono<T>
Link copied to clipboard
fun <T> T?.throwNotFoundIfNull(errorMsg: String = ErrorCodes.NOT_FOUND_MESSAGE): T
Link copied to clipboard
Link copied to clipboard
fun Throwable.toWowException(errorCode: String = this.getErrorCode(), errorMsg: String = this.getErrorMsg()): WowException