Skip to content

Commit eb0e58f

Browse files
committed
error: Add type params
1 parent d3fefc2 commit eb0e58f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

luno_python/error.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ def __init__(self, code, message):
88
"""Initialise APIError with code and message.
99
1010
:param code: Error code from the API
11+
:type code: str
1112
:param message: Error message from the API
13+
:type message: str
1214
"""
1315
self.code = code
1416
self.message = message

0 commit comments

Comments
 (0)