clean up
This commit is contained in:
@@ -23,6 +23,16 @@ The VM faults when contract rules are violated, for example:
|
||||
|
||||
These are not ordinary domain statuses.
|
||||
|
||||
Faults are split into two runtime classes:
|
||||
|
||||
- `Trap`: guest-visible structural violation (ABI misuse / invalid call shape).
|
||||
- `Panic`: runtime invariant break (internal inconsistency).
|
||||
|
||||
`Unavailable` is not a canonical fault class in this policy model.
|
||||
|
||||
- operational unavailability should be represented as `status`;
|
||||
- structural host/runtime collapse should be treated as `Panic`.
|
||||
|
||||
### Status returns
|
||||
|
||||
Normal operational conditions should be represented as values in return slots.
|
||||
|
||||
Reference in New Issue
Block a user