Changes

Jump to navigation Jump to search
183 bytes removed ,  13:11, 24 May 2018
no edit summary
=Conventions=
 
{{Mark|Updated with Version 9.0}}:
All functions and errors in this module are assigned to the <code><nowiki>http://basex.org/modules/repo</nowiki></code> namespace, which is statically bound to the {{Code|repo}} prefix.<br/>
|-
| '''Errors'''
|{{Error|not-found|#Errors}} a package does not exist.<br />{{Error|descriptor|#Errors}} the package descriptor is invalid.<br />{{Error|installed|#Errors}} the module contained in the package to be installed is already installed as part of another package.<br />{{Error|parse|#Errors}} an error occurred while parsing the package cannot be parsed.<br />{{Error|version|#Errors}} the package version is not supported.
|}
|-
| '''Summary'''
|Deletes a package. The parameter {{Code|$pkg}} indicates either the package name as specified in the package descriptor or the name, optionally suffixed with a hyphen dash and the package version.<br />
|-
| '''Errors'''
|{{Error|not-found|#Errors}} a package does not exist.<br />{{Error|delete|#Errors}} the package cannot be deleted.<br />{{Error|BXRE0008|#Errors}} another package depends on the package to be deleted.<br />
|}
=Errors=
 
{{Mark|Updated with Version 9.0}}:
{| class="wikitable" width="100%"
|-
|{{Code|parse}}
|The An error occurred while parsing the package cannot be parsed.
|-
|{{Code|version}}
;Version 9.0
* Updated: error codes updatesupdated; errors now use the module namespace
;Version 7.2.1
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu