Change the signatures of the raiseApiError procedure to be consistent.
This commit is contained in:
1 parent
6bee730d7a
commit
feeef6429c
2 files changed
+2
-2
No files matched your search
@@ -22,7 +22,7 @@ proc raiseApiError*(respCode: HttpCode, respMsg: string, msg = "") =
|
||||
raise apiError
|
||||
|
||||
|
||||
proc raiseApiError*(parent: ref Exception, respCode: HttpCode, respMsg: string = "", msg = "") =
|
||||
proc raiseApiError*(respCode: HttpCode, parent: ref Exception, respMsg: string = "", msg = "") =
|
||||
var apiError = newApiError(
|
||||
parent = parent,
|
||||
respCode = respCode,
|
||||
|
||||
Reference in new issue
Block a user