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
module-ballerina-toml defines the errors in the sub-modules, and they are exposed to the user by redefining them through the default module. It expects to display the description of the following errors via the API docs.
# Represents the generic error type for the TOML package.publictypeErrorParsingError|WritingError|FileError;
// Level 1# Represents an error caused when failed to access the file.publictypeFileErrordistinct (io:Error|file:Error);
# Represents an error caused during the parsing.publictypeParsingErrorparser:ParsingError;
# Represents an error caused when writing a TOML file.publictypeWritingErrorwriter:WritingError;
// Level 2# Represents an error caused by the lexical analyzer.publictypeLexicalErrorlexer:LexicalError;
# Represents an error caused for an invalid grammar production.publictypeGrammarErrorparser:GrammarError;
# Represents an error caused by the Ballerina lang when converting a data type.publictypeConversionErrorparser:ConversionError;
However, only the following two errors are visible.
Steps to Reproduce
Clone the Ballerina TOML repository git clone [email protected]:ballerina-platform/module-ballerina-toml.git
Run the bal doc command on the package.
Check the errors in the API docs google-chrome target/apidocs/ballerina/toml/1.0.0/index.html
The error can be reproduced with module-ballerina-yaml as well.
Affected Version(s)
2201.2.1
OS, DB, other environment details and versions
OS - Ubuntu 22.04.1 LTS
Related area
-> API Docs
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered:
Description
module-ballerina-toml
defines the errors in the sub-modules, and they are exposed to the user by redefining them through the default module. It expects to display the description of the following errors via the API docs.However, only the following two errors are visible.
Steps to Reproduce
git clone [email protected]:ballerina-platform/module-ballerina-toml.git
bal doc
command on the package.google-chrome target/apidocs/ballerina/toml/1.0.0/index.html
The error can be reproduced with
module-ballerina-yaml
as well.Affected Version(s)
2201.2.1
OS, DB, other environment details and versions
OS - Ubuntu 22.04.1 LTS
Related area
-> API Docs
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: