You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ErrorType.create unnecessarily throws on certain codes #47
Yes, so I think it doesn't need to throw any more? Reason I ask is Conjure generated code uses ErrorType.create for all error codes, and fails at runtime if any is CUSTOM_CLIENT or CUSTOM_SERVER. Seems easier to change in remoting-api than special case them in Conjure.
Activity
uschi2000 commentedon Sep 15, 2017
looks like this behavior is obsolete now, it's functionally equivalent to the server/client methods, right?
meditativeape commentedon Sep 15, 2017
Yes, so I think it doesn't need to throw any more? Reason I ask is Conjure generated code uses
ErrorType.createfor all error codes, and fails at runtime if any is CUSTOM_CLIENT or CUSTOM_SERVER. Seems easier to change in remoting-api than special case them in Conjure.uschi2000 commentedon Sep 15, 2017