# HG changeset patch # User David Demelier # Date 1455960943 -3600 # Node ID 12dfbec74a9c597715847262704e0a7263f89d92 # Parent cdc91b663087e7ba20d65a1c43213ebb2dcb27fd Docs: use Irccd.SystemError in functions throwing that error, #420 diff -r cdc91b663087 -r 12dfbec74a9c doc/html/api/module/Irccd.File/function/exists.md --- a/doc/html/api/module/Irccd.File/function/exists.md Tue Feb 16 13:58:52 2016 +0100 +++ b/doc/html/api/module/Irccd.File/function/exists.md Sat Feb 20 10:35:43 2016 +0100 @@ -5,5 +5,5 @@ arguments: - "**path**: the path to the file." returns: "True if exists." -throws: "Any exception if we don't have access." +throws: "An [Irccd.SystemError](@baseurl@/api/module/Irccd/index.html#types) on failures." --- diff -r cdc91b663087 -r 12dfbec74a9c doc/html/api/module/Irccd.File/function/remove.md --- a/doc/html/api/module/Irccd.File/function/remove.md Tue Feb 16 13:58:52 2016 +0100 +++ b/doc/html/api/module/Irccd.File/function/remove.md Sat Feb 20 10:35:43 2016 +0100 @@ -4,5 +4,5 @@ synopsis: "Irccd.File.remove(path)" arguments: - "**path**: the path to the file." -throws: "Any exception on error." +throws: "An [Irccd.SystemError](@baseurl@/api/module/Irccd/index.html#types) on failures." --- diff -r cdc91b663087 -r 12dfbec74a9c doc/html/api/module/Irccd.File/function/stat.md --- a/doc/html/api/module/Irccd.File/function/stat.md Tue Feb 16 13:58:52 2016 +0100 +++ b/doc/html/api/module/Irccd.File/function/stat.md Sat Feb 20 10:35:43 2016 +0100 @@ -1,29 +1,30 @@ --- function: stat -summary: "Get file information at the specified path." +summary: > + Get file information at the specified path. + + The returned object may have the following properties if they are available on your system: + + - **atime**: (int) the last access time, + - **blksize**: (int) the block size, + - **blocks**: (int) the number of blocks, + - **ctime**: (int) the creation time, + - **dev**: (int) the device, + - **gid**: (int) the group, + - **ino**: (int) the inode, + - **mode**: (int) the mode, + - **mtime**: (int) the modification time, + - **nlink**: (int) the number of hard links, + - **rdev**: (int), + - **size**: (int) the file size, + - **uid**: (int) the user. synopsis: "info = Irccd.File.stat(path)" arguments: - "**path**: the path to the file." returns: "The stat information." -throws: "Any exception on error." +throws: "An [Irccd.SystemError](@baseurl@/api/module/Irccd/index.html#types) on failures." --- -The returned object may have the following properties if they are available on your system: - - - **atime**: (int) the last access time, - - **blksize**: (int) the block size, - - **blocks**: (int) the number of blocks, - - **ctime**: (int) the creation time, - - **dev**: (int) the device, - - **gid**: (int) the group, - - **ino**: (int) the inode, - - **mode**: (int) the mode, - - **mtime**: (int) the modification time, - - **nlink**: (int) the number of hard links, - - **rdev**: (int), - - **size**: (int) the file size, - - **uid**: (int) the user. - ## Remarks