Verse using statement |
using { /Verse.org/Verse } |
MakeError<public>(Result:error_type where error_type:any):result(success_type,error_type)
Parameters
MakeError takes the following parameters:
| Name | Type | Description |
|---|---|---|
Result |
error_type |
|
error_type |
any |
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with MakeError in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |