Skip to content

Commit 5a84f52

Browse files
committed
add error_num to exception struct
1 parent 557a611 commit 5a84f52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ iex> Arangox.get(conn, "/invalid")
4343
{:error,
4444
%Arangox.Error{
4545
endpoint: "http://localhost:8529",
46+
error_num: 404,
4647
message: "unknown path '/invalid'",
4748
status: 404
4849
}}

0 commit comments

Comments
 (0)