You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way we use distinct error in most standard libraries are not correct. We need to create error hierarchy like below,
// Level 1
public type Error distinct error;
// Level 2
public type ClientError distinct Error;
// Level 3
public type GenericClientError distinct ClientError;
The way we use distinct error in most standard libraries are not correct. We need to create error hierarchy like below,
Reference PR: ballerina-platform/module-ballerina-http#211
The text was updated successfully, but these errors were encountered: