Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syntax to describe error type of service method #43

Merged
merged 2 commits into from
Aug 13, 2016
Merged

Add syntax to describe error type of service method #43

merged 2 commits into from
Aug 13, 2016

Conversation

Kroisse
Copy link
Contributor

@Kroisse Kroisse commented Aug 12, 2016

It might be needed to restrict the possible error type, due to the reason described in #38. Currently there is no restriction about that.

Syntax added:

service user-service (
    user get-user (uuid id) throws user-service-error;
);

@kanghyojun
Copy link
Member

💯

@dahlia dahlia added the typ:enhance Type: Enhancement/new feature label Aug 13, 2016
@dahlia dahlia merged commit c046e59 into nirum-lang:master Aug 13, 2016
@dahlia dahlia added cat:lang Category: Language design cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) labels Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:lang Category: Language design cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) typ:enhance Type: Enhancement/new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants