Zync SDK
Toggle table of contents
1.0.30
commonMain
Platform filter
commonMain
Switch theme
Search in API
Zync SDK
Zync SDK
/
zync.api.attachments.models
/
AttachmentError
Attachment
Error
sealed
class
AttachmentError
:
Exception
Sealed class representing different types of attachment errors.
Inheritors
FileNotFound
FileReadError
InsufficientPermission
InvalidFile
FileCopyError
HashCalculationError
AttachmentNotFound
TagNotFound
TagOperationFailed
Members
Types
Attachment
Not
Found
Link copied to clipboard
data
class
AttachmentNotFound
(
val
message
:
String
)
:
AttachmentError
File
Copy
Error
Link copied to clipboard
data
class
FileCopyError
(
val
message
:
String
)
:
AttachmentError
File
Not
Found
Link copied to clipboard
data
class
FileNotFound
(
val
message
:
String
)
:
AttachmentError
File
Read
Error
Link copied to clipboard
data
class
FileReadError
(
val
message
:
String
)
:
AttachmentError
Hash
Calculation
Error
Link copied to clipboard
data
class
HashCalculationError
(
val
message
:
String
)
:
AttachmentError
Insufficient
Permission
Link copied to clipboard
data
class
InsufficientPermission
(
val
message
:
String
)
:
AttachmentError
Invalid
File
Link copied to clipboard
data
class
InvalidFile
(
val
message
:
String
)
:
AttachmentError
Tag
Not
Found
Link copied to clipboard
data
class
TagNotFound
(
val
message
:
String
)
:
AttachmentError
Tag
Operation
Failed
Link copied to clipboard
data
class
TagOperationFailed
(
val
message
:
String
)
:
AttachmentError
Properties
cause
Link copied to clipboard
open
val
cause
:
Throwable
?
message
Link copied to clipboard
open
val
message
:
String
?