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

Align Ballerina runtime generated errors to new error format. #23746

Closed
rdhananjaya opened this issue Jun 5, 2020 · 0 comments
Closed

Align Ballerina runtime generated errors to new error format. #23746

rdhananjaya opened this issue Jun 5, 2020 · 0 comments
Labels
Priority/High Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Improvement

Comments

@rdhananjaya
Copy link
Member

Description:
For examle the type cast error at the moment is
{ballerina}TypeCastError {"message":"incompatible types: 'OurProccessingError' cannot be cast to 'errors:OrderProcessingError'"}

This is in the old error format, with a string and a message. We should align this to the new format.

error "incompatible types: 'OurProccessingError' cannot be cast to 'errors:OrderProcessingError'"

or

TypeCastError "incompatible types: 'OurProccessingError' cannot be cast to 'errors:OrderProcessingError'"

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@rdhananjaya rdhananjaya added Priority/High Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. labels Jun 5, 2020
@gimantha gimantha closed this as completed Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority/High Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Improvement
Projects
None yet
Development

No branches or pull requests

3 participants