Skip to content

Commit eb84316

Browse files
committed
Add empty precondition error
1 parent e04c890 commit eb84316

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

authzed/api/v1/error_reason.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,4 +353,15 @@ enum ErrorReason {
353353
// "metadata": {}
354354
// }
355355
ERROR_REASON_INMEMORY_TOO_MANY_CONCURRENT_UPDATES = 24;
356+
357+
// The request failed because the precondition specified is empty.
358+
//
359+
// Example of an ErrorInfo:
360+
//
361+
// {
362+
// "reason": "ERROR_REASON_EMPTY_PRECONDITION",
363+
// "domain": "authzed.com",
364+
// "metadata": {}
365+
// }
366+
ERROR_REASON_EMPTY_PRECONDITION = 25;
356367
}

0 commit comments

Comments
 (0)