Merge branch 'throw-error-not-string' of https://github.com/mauricedb/swagger-codegen into mauricedb-throw-error-not-string

This commit is contained in:
wing328 2016-10-25 16:47:13 +08:00
commit 37bb66c436

View File

@ -58,7 +58,7 @@
<#allParams><#required> <#allParams><#required>
// verify the required parameter '<paramName>' is set // verify the required parameter '<paramName>' is set
if (<paramName> == undefined || <paramName> == null) { if (<paramName> == undefined || <paramName> == null) {
throw "Missing the required parameter '<paramName>' when calling <operationId>"; throw new Error("Missing the required parameter '<paramName>' when calling <operationId>");
} }
</required></allParams> </required></allParams>