| '''Errors'''
|<b>[[XQuery Errors#File Module Errors|FOFL0001]]</b> is raised if the specified source does not exist.<br /><b>[[XQuery Errors#File Module Errors|FOFL0002]]</b> is raised if the specified source is a directory and the target is a file.<br /><b>[[XQuery Errors#File Module Errors|FOFL0003]]</b> is raised if the parent of the specified target is no directory.<br /><b>[[XQuery Errors#File Module Errors|FOFL0000]]</b> is raised if the operation fails for some other reason.<br />
|}
=Errors=
{| class="wikitable" width="100%"
! width="5%"|Code
! width="95%"|Description
|-
|<code>FOFL0000</code>
|The operation fails for some other reason specific to the operatig system.
|-
|<code>FOFL0000</code>
|A specified path cannot be transformed to its native representation.
|-
|<code>FOFL0001</code>
|A specified path does not exist.
|-
|<code>FOFL0002</code>
|A file with the same path already exists.
|-
|<code>FOFL0003</code>
|The specified path does not point to a directory.
|-
|<code>FOFL0004</code>
|The specified path is a directory.
|-
|<code>FOFL0005</code>
|The specified encoding is not supported, or unknown.
|}