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
{{ message }}
Repository navigation
[FEATURE] Support the @throws documentation keyword #450
The current compodoc version does not support documenting the @throws option to include this information in the documentation after the returns, or elsewhere in the documentation block. Some functions may return data (which is documented) but might also throw a number of exceptions. This additional information would be useful in the source code documentation.
Angular configuration, a package.json file in the root folder
Compodoc installed globally or locally ?
local installation
Motivation for or Use Case
Have the additional information of catchable exceptions that may be thrown by a function or other method would be useful in the developer documentation that is generated by Compodoc.
Reproduce the error
/**
* Add the JSON formatted data record
* @param JSONData Actual JSON data record to save
* @returns string Key Field reference that was created
* @throws RecordAlreadyExists The record exists
* @throws NoData JSONData was empty
*/
AddDataRecord(JSONData:any ):boolean {
if (JSONData === null ) {
throw new Error(NoData);
}
if (AddRecord(JSONData) == -1) {
throw new Error(RecordAlreadyExists);
}
return true;
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please file a new issue if you are encountering a similar or related problem. Thank you for your contributions.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.
Activity
[-]Support the @throws documentation keyword[/-][+][FEATURE] Support the @throws documentation keyword[/+]8 remaining items
stale commentedon Sep 30, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stale commentedon Oct 7, 2019
This issue has been automatically closed because it has not had recent activity. Please file a new issue if you are encountering a similar or related problem. Thank you for your contributions.
lock commentedon Dec 6, 2019
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.
chore(app): support throws and inherited docs