Change the signatures of the raiseApiError procedure to be consistent.
				
					
				
			This commit is contained in:
		| @@ -1,6 +1,6 @@ | |||||||
| # Package | # Package | ||||||
|  |  | ||||||
| version       = "0.4.0" | version       = "0.4.1" | ||||||
| author        = "Jonathan Bernard" | author        = "Jonathan Bernard" | ||||||
| description   = "Jonathan's opinionated extensions and auth layer for Jester." | description   = "Jonathan's opinionated extensions and auth layer for Jester." | ||||||
| license       = "MIT" | license       = "MIT" | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ proc raiseApiError*(respCode: HttpCode, respMsg: string, msg = "") = | |||||||
|   raise apiError |   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( |   var apiError = newApiError( | ||||||
|     parent = parent, |     parent = parent, | ||||||
|     respCode = respCode, |     respCode = respCode, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user