mirror of
https://github.com/fluencelabs/assemblyscript-json
synced 2025-06-30 23:11:42 +00:00
Improve control character error message
This commit is contained in:
@ -103,7 +103,7 @@ export class JSONEncoder {
|
|||||||
this.write("\\t");
|
this.write("\\t");
|
||||||
} else {
|
} else {
|
||||||
// TODO: Implement encoding for other contol characters
|
// TODO: Implement encoding for other contol characters
|
||||||
assert(false, "Unsupported control chracter");
|
assert(false, "Unsupported control character code: " + char.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user