blob: 2c3f3389b41aa5f5a8245dbaa2da211c766bca68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
pub const ErrorDescriptor = struct {
Message: []const u8
};
pub const NotFoundDescriptor = ErrorDescriptor {
.Message = "The requested object was not found"
};
pub const AlreadyExistsDescriptor = ErrorDescriptor {
.Message = "The object already exists in the database"
};
|