|
@@ -197,6 +197,12 @@ const char* storage_error_get_desc(FS_Error error_id);
|
|
|
*/
|
|
*/
|
|
|
FS_Error storage_file_get_error(File* file);
|
|
FS_Error storage_file_get_error(File* file);
|
|
|
|
|
|
|
|
|
|
+/** Retrieves the internal (storage-specific) error id from the file object
|
|
|
|
|
+ * @param file pointer to file object. Pointer must not point to NULL. YOU CANNOT RETREIVE THE INTERNAL ERROR ID IF THE FILE HAS BEEN CLOSED
|
|
|
|
|
+ * @return FS_Error error id
|
|
|
|
|
+ */
|
|
|
|
|
+int32_t storage_file_get_internal_error(File* file);
|
|
|
|
|
+
|
|
|
/** Retrieves the error text from the file object
|
|
/** Retrieves the error text from the file object
|
|
|
* @param file pointer to file object. Pointer must not point to NULL. YOU CANNOT RETREIVE THE ERROR TEXT IF THE FILE HAS BEEN CLOSED
|
|
* @param file pointer to file object. Pointer must not point to NULL. YOU CANNOT RETREIVE THE ERROR TEXT IF THE FILE HAS BEEN CLOSED
|
|
|
* @return const char* error text
|
|
* @return const char* error text
|