Skip to content

Commit

Permalink
make errorMessage optional, add optional teal and source to SourceInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Oct 23, 2024
1 parent 20369ed commit 027462f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ARCs/arc-0056.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,11 @@ interface SourceInfo {
/** The program counter value(s). Could be offset if pcOffsetMethod is not "none" */
pc: Array<number>;
/** A human-readable string that describes the error when the program fails at the given PC */
errorMessage: string;
errorMessage?: string;
/** The TEAL line number that corresponds to the given PC. RECOMMENDED to be used for development purposes, but not required for clients */
teal?: string;
/** The original source file and line number that corresponds to the given PC. RECOMMENDED to be used for development purposes, but not required for clients */
source?: string;
}
```

Expand Down

0 comments on commit 027462f

Please sign in to comment.