Skip to content

Commit a7190d5

Browse files
doc: add posibility of exception
1 parent 98ee5d4 commit a7190d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

user_guide_src/source/libraries/files.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Returns the size of the uploaded file in bytes:
4646

4747
.. literalinclude:: files/004.php
4848

49+
A RuntimeException will be thrown if the file does not exist or an error occurs.
50+
4951
getSizeByUnit()
5052
===============
5153

@@ -54,6 +56,8 @@ the results in kilobytes or megabytes, respectively:
5456

5557
.. literalinclude:: files/005.php
5658

59+
A RuntimeException will be thrown if the file does not exist or an error occurs.
60+
5761
getMimeType()
5862
=============
5963

0 commit comments

Comments
 (0)