core: add new object related status codes

This commit is contained in:
2025-08-16 16:00:04 +01:00
parent 0751ef469f
commit 2c15d5cd45
2 changed files with 23 additions and 0 deletions

View File

@@ -694,6 +694,15 @@ static const struct b_error_definition builtin_errors[] = {
B_ERR_PERMISSION_DENIED, "PERMISSION_DENIED",
"Permission denied"),
B_ERROR_DEFINITION(B_ERR_BUSY, "BUSY", "Resource busy or locked"),
B_ERROR_DEFINITION(
B_ERR_COMPRESSION_FAILURE, "COMPRESSION_FAILURE",
"Compression failure"),
B_ERROR_DEFINITION(
B_ERR_TYPE_REGISTRATION_FAILURE, "TYPE_REGISTRATION_FAILURE",
"Type registration failure"),
B_ERROR_DEFINITION(
B_ERR_CLASS_INIT_FAILURE, "CLASS_INIT_FAILURE",
"Class initialisation failure"),
};
static const struct b_error_vendor builtin_vendor = {