toHttpStatus

fun ErrorInfo.toHttpStatus(default: HttpStatus = HttpStatus.BAD_REQUEST): HttpStatus