cubos / sdkgen

[ DEPRECATED, SEE https://github.com/sdkgen/sdkgen ] Tool that aims on solving client-server communication and data layout sharing between server, web, android and ios using a description language also called sdkgen.
MIT License
45 stars 9 forks source link

Declarating a duplicated error name in a .sdkgen file will produce a invalid node-server code #39

Open icaaro opened 6 years ago

icaaro commented 6 years ago

When is declared a duplicate error types in skdgen no advice or error are presented by the compiler and this will produce a invalid typescript code.

iex.


error NotLoggedIn
error WrongLogin
error InvalidCall
error InvalidToken

error NotLoggedIn
error WrongLogin
error InvalidCall
error InvalidToken