You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Artur Khanin (Jira)" <ji...@apache.org> on 2021/09/29 08:39:00 UTC
[jira] [Assigned] (BEAM-12969) [Playground] Define and implement
errors of the application
[ https://issues.apache.org/jira/browse/BEAM-12969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Artur Khanin reassigned BEAM-12969:
-----------------------------------
Assignee: Aydar Zaynutdinov
> [Playground] Define and implement errors of the application
> -----------------------------------------------------------
>
> Key: BEAM-12969
> URL: https://issues.apache.org/jira/browse/BEAM-12969
> Project: Beam
> Issue Type: Sub-task
> Components: beam-playground
> Reporter: Artur Khanin
> Assignee: Aydar Zaynutdinov
> Priority: P3
>
> The server app should have the following errors defined for the corresponding cases:
> * *InvalidArgument* – e.g. empty input code.
> * *NotFound* – e.g. _jobId_ doesn't exist.
> * *Internal* – e.g. some internal error on the server.
> The errors above should be Implemented as Go errors in one file. For example:
>
> {code:java}
> func InvalidArgumentError(title string, message string) error {
> status.Errorf(codes.InvalidArgument, title + " " + message)
> }{code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)