Zync SDK
Toggle table of contents
1.0.30
commonMain
Platform filter
commonMain
Switch theme
Search in API
Zync SDK
Zync SDK
/
zync.api.user.models
/
UserError
User
Error
sealed
class
UserError
:
Exception
Sealed class representing different types of user-related errors.
Inheritors
UserNotFound
RoleNotFound
InvalidUserData
InsufficientPermissions
DatabaseError
NetworkError
ValidationError
UnknownError
Members
Types
Database
Error
Link copied to clipboard
data
class
DatabaseError
(
val
originalError
:
Throwable
)
:
UserError
Insufficient
Permissions
Link copied to clipboard
object
InsufficientPermissions
:
UserError
Invalid
User
Data
Link copied to clipboard
object
InvalidUserData
:
UserError
Network
Error
Link copied to clipboard
data
class
NetworkError
(
val
originalError
:
Throwable
)
:
UserError
Role
Not
Found
Link copied to clipboard
object
RoleNotFound
:
UserError
Unknown
Error
Link copied to clipboard
data
class
UnknownError
(
val
originalError
:
Throwable
)
:
UserError
User
Not
Found
Link copied to clipboard
object
UserNotFound
:
UserError
Validation
Error
Link copied to clipboard
data
class
ValidationError
(
val
field
:
String
)
:
UserError
Properties
cause
Link copied to clipboard
open
val
cause
:
Throwable
?
message
Link copied to clipboard
open
val
message
:
String
?