| Package | Description |
|---|---|
| pro.fessional.mirana.data | |
| pro.fessional.mirana.i18n | |
| pro.fessional.mirana.page | |
| pro.fessional.mirana.pain |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DataResult<T> |
interface |
ErrorResult
- success is false, not complete because of errors
- code the err-code more than errors
- errors should null if error is empty
|
| Modifier and Type | Class and Description |
|---|---|
class |
R<T>
## Conventions
1.
|
static class |
R.Immutable<T>
throw UnsupportedOperationException if modify
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CodeEnum
business code, and can also be used as i18nCode.
|
interface |
I18nEnum
Empower i18n capability to common enums
|
| Modifier and Type | Class and Description |
|---|---|
class |
AssertErrorEnum
message rules,
- simplicity first.
|
class |
CrudErrorEnum |
| Modifier and Type | Class and Description |
|---|---|
class |
PageResult<E>
It is not recommended to change the page data after construction.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BadArgsException
Used for pre-check of arguments
|
class |
BadStateException
Used for post-check of state
|
class |
CodeException
Readability and performance first exception.
|
class |
CrudException
the tweaking priority is para, code, null.
|
class |
HttpStatusException
stackless exceptions with HttpStatus
|
class |
MessageException
Stackless exceptions used only to output business messages.
|
Copyright © 2025. All rights reserved.