Skip to content

Commit

Permalink
Merge pull request #5 from Nuvindu/docs
Browse files Browse the repository at this point in the history
Update documentation with error type description
  • Loading branch information
Nuvindu authored Apr 10, 2024
2 parents ab9a7a5 + 410511c commit 4989a81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ballerina/error.bal
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@
// specific language governing permissions and limitations
// under the License.

# The error details type for the Ballerina Confluent Schema Registry module.
#
# + status - The HTTP status code for the error
# + errorCode - The error code for the error
public type ErrorDetails record {|
int status?;
int errorCode?;
|};

# Represents any error related to Ballerina Confluent Schema Registry module.
public type Error distinct error<ErrorDetails>;

0 comments on commit 4989a81

Please sign in to comment.