[
https://issues.apache.org/jira/browse/BEAM-12969?focusedWorklogId=662214&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-662214
]
ASF GitHub Bot logged work on BEAM-12969:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Oct/21 23:26
Start Date: 07/Oct/21 23:26
Worklog Time Spent: 10m
Work Description: pabloem merged pull request #15615:
URL: https://github.com/apache/beam/pull/15615
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 662214)
Time Spent: 1h 20m (was: 1h 10m)
> [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
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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)