Skip to content

Commit e986cd4

Browse files
committed
[stdlib] Fix error message for JSON KeyNotFound exception.
1 parent e93beb3 commit e986cd4

File tree

1 file changed

+1
-1
lines changed
  • skiplang/prelude/src/stdlib/serialization

1 file changed

+1
-1
lines changed

skiplang/prelude/src/stdlib/serialization/JSON.sk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private fun indent(write: .String -> void, nspaces: Int): void {
198198

199199
class KeyNotFoundError(key: .String) extends Serialization.SerializationError {
200200
fun getMessage(): .String {
201-
"Key '" + this.key + "'not found";
201+
"Key '" + this.key + "' not found";
202202
}
203203
fun toString(): .String {
204204
`KeyNotFoundError: ${this.getMessage()}`

0 commit comments

Comments
 (0)