Skip to content

Commit

Permalink
capi: document error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Apr 12, 2021
1 parent 3afc039 commit 90548db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/fizzy/fizzy.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,15 @@ extern "C" {
/// Error codes.
typedef enum FizzyErrorCode
{
/// Success.
FizzySuccess = 0,
/// Malformed module.
FizzyErrorMalformedModule,
/// Invalid module.
FizzyErrorInvalidModule,
/// Instantiation failed.
FizzyErrorInstantiationFailed,
/// Other error.
FizzyErrorOther
} FizzyErrorCode;

Expand Down

0 comments on commit 90548db

Please sign in to comment.