diff --git a/object/status.go b/object/status.go index dc37ad25..a9a0faa5 100644 --- a/object/status.go +++ b/object/status.go @@ -37,6 +37,9 @@ const ( // StatusAlreadyRemoved is a local status.Code value for // OBJECT_ALREADY_REMOVED object failure. StatusAlreadyRemoved + // StatusOutOfRange is a local status.Code value for + // OUT_OF_RANGE object failure. + StatusOutOfRange ) const ( diff --git a/object/status_test.go b/object/status_test.go index 86fcc823..a330a9ff 100644 --- a/object/status_test.go +++ b/object/status_test.go @@ -16,6 +16,7 @@ func TestStatusCodes(t *testing.T) { object.StatusLocked, 2050, object.StatusLockNonRegularObject, 2051, object.StatusAlreadyRemoved, 2052, + object.StatusOutOfRange, 2053, ) }