adomokos / light-service

Series of Actions with an emphasis on simplicity.
MIT License
837 stars 67 forks source link

No need to return when context fails #130

Closed adomokos closed 6 years ago

adomokos commented 6 years ago

The ctx.fail!('error message') returns the context implicitly, no need to return from the calling code.