Skip to content

Commit

Permalink
Moved all the files to the new folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Pismice committed Mar 19, 2024
1 parent 3346eba commit b7ace92
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion doc/errors.org → docs/errors.org
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ When you declare your enum using this keyword instead of "enum", the compiler is
Functions can return either a value or an error, this is done by adding the "!" to the return type of a function
With the "!" the return type of the function below is the coerced "anyerror!u8"

Note: "anyerror" is just a u16 under the hood.
Note 1: "anyerror" is just a u16 under the hood.
Note 2: It is important that the syntax is ErrorSet!Payload if you write it by hand and NOT Payload!ErrorSet

When a function can return an error we have to either "try" or "catch" it.

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zigggg ziggggggg
File renamed without changes.

0 comments on commit b7ace92

Please sign in to comment.