mirror of
https://github.com/ProvableHQ/leo.git
synced 2025-01-06 10:37:19 +03:00
Fix nits in error guide
Co-authored-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
This commit is contained in:
parent
d98f08c179
commit
84617bd7af
@ -1,4 +1,4 @@
|
||||
# Member variables after after circuit functions
|
||||
# Member variables after circuit functions
|
||||
|
||||
## Example
|
||||
|
||||
|
@ -9,7 +9,7 @@ Erroneous code example:
|
||||
|
||||
```js
|
||||
function main() {
|
||||
console.fail("Huston we have a problem!");
|
||||
console.fail("Houston we have a problem!");
|
||||
}
|
||||
```
|
||||
|
||||
@ -19,7 +19,7 @@ The compiler will reject this code with:
|
||||
Error [EPAR0370007]: unexpected identifier: expected 'assert', 'error', 'log' -- got 'fail'
|
||||
--> test.leo:2:11
|
||||
|
|
||||
2 | console.fail("Huston we have a problem!");
|
||||
2 | console.fail("Houston we have a problem!");
|
||||
| ^^^^
|
||||
```
|
||||
|
||||
@ -35,7 +35,7 @@ which `.error(...)` will achieve, so we use that instead...:
|
||||
|
||||
```js
|
||||
function main() {
|
||||
console.error("Huston we have a problem!");
|
||||
console.error("Houston we have a problem!");
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user