Skip to content

Commit

Permalink
Merge pull request #1606 from eltociear/patch-1
Browse files Browse the repository at this point in the history
node: update node.zig
  • Loading branch information
batiati committed Feb 27, 2024
2 parents bc4c842 + f3c451c commit 7daa0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/node/src/node.zig
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fn create(env: c.napi_env, cluster_id: u128, concurrency: u32, addresses: []cons
on_completion,
) catch |err| switch (err) {
error.OutOfMemory => return translate.throw(env, "Failed to allocate memory for Client."),
error.Unexpected => return translate.throw(env, "Unexpected error occured on Client."),
error.Unexpected => return translate.throw(env, "Unexpected error occurred on Client."),
error.AddressInvalid => return translate.throw(env, "Invalid replica address."),
error.AddressLimitExceeded => return translate.throw(env, "Too many replica addresses."),
error.ConcurrencyMaxInvalid => return translate.throw(env, "Concurrency is too high."),
Expand Down

0 comments on commit 7daa0b6

Please sign in to comment.