Skip to content

Commit

Permalink
Reset error codes.
Browse files Browse the repository at this point in the history
It's been a bit and there was a duplicate or two.
  • Loading branch information
emmiegit committed Dec 1, 2024
1 parent 5bbda44 commit 85a0db0
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions deepwell/src/services/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,28 +385,28 @@ impl Error {
Error::FilterNotDeleted => 4006,
Error::FileNameEmpty => 4007,
Error::FileNameTooLong { .. } => 4008,
Error::FileNameInvalidCharacters => 4029,
Error::FileMimeEmpty => 4009,
Error::FileNotDeleted => 4010,
Error::PageNotDeleted => 4011,
Error::PageSlugEmpty => 4012,
Error::SiteSlugEmpty => 4013,
Error::UserNameTooShort => 4014,
Error::UserSlugEmpty => 4015,
Error::UserEmailEmpty => 4022,
Error::MessageSubjectEmpty => 4016,
Error::MessageSubjectTooLong => 4017,
Error::MessageBodyEmpty => 4018,
Error::MessageBodyTooLong => 4019,
Error::MessageNoRecipients => 4020,
Error::MessageTooManyRecipients => 4021,
Error::BlobWrongUser => 4022,
Error::BlobTooBig => 4023,
Error::BlobNotUploaded => 4024,
Error::BlobSizeMismatch { .. } => 4025,
Error::BlobBlacklisted(_) => 4026,
Error::BlobCannotBlacklistExisting => 4027,
Error::NotLatestRevisionId => 4028,
Error::FileNameInvalidCharacters => 4009,
Error::FileMimeEmpty => 4010,
Error::FileNotDeleted => 4011,
Error::PageNotDeleted => 4012,
Error::PageSlugEmpty => 4013,
Error::SiteSlugEmpty => 4014,
Error::UserNameTooShort => 4015,
Error::UserSlugEmpty => 4016,
Error::UserEmailEmpty => 4017,
Error::MessageSubjectEmpty => 4018,
Error::MessageSubjectTooLong => 4019,
Error::MessageBodyEmpty => 4020,
Error::MessageBodyTooLong => 4021,
Error::MessageNoRecipients => 4022,
Error::MessageTooManyRecipients => 4023,
Error::BlobWrongUser => 4024,
Error::BlobTooBig => 4025,
Error::BlobNotUploaded => 4026,
Error::BlobSizeMismatch { .. } => 4027,
Error::BlobBlacklisted(_) => 4028,
Error::BlobCannotBlacklistExisting => 4029,
Error::NotLatestRevisionId => 4030,

// 4100 -- Localization
Error::LocaleInvalid(_) => 4100,
Expand Down

0 comments on commit 85a0db0

Please sign in to comment.