-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add errors.move, start coding Host and Transport Control
- Loading branch information
1 parent
8e33082
commit ac77c0f
Showing
5 changed files
with
219 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
module dtp::errors { | ||
// === Imports === | ||
|
||
// === Friends === | ||
|
||
// === Errors === | ||
|
||
// === Constants === | ||
// TODO Could error code be 32 bits? | ||
// TODO Refactor once public consts are supported. | ||
// TODO Consider public(package) once available. | ||
public fun EOnePipeRequired() : u64 { 1 } | ||
public fun EHostAddressMismatch1() : u64 { 2 } | ||
public fun EHostAddressMismatch2() : u64 { 3 } | ||
public fun EPipeInstanceSame() : u64 { 4 } | ||
public fun EServiceIdxOutOfRange() : u64 { 5 } | ||
|
||
// === Structs === | ||
|
||
// === Public-Mutative Functions === | ||
|
||
// === Public-View Functions === | ||
|
||
// === Admin Functions === | ||
|
||
// === Public-Friend Functions === | ||
|
||
// === Private Functions === | ||
|
||
// === Test Functions === | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.