mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 14:57:01 +00:00
some minor improvements
This commit is contained in:
parent
992d9be195
commit
328ebf821e
13 changed files with 29 additions and 19 deletions
|
@ -8,7 +8,7 @@ combination with [`AuthSuccess`] or [`AuthResult`].
|
|||
[`AuthSuccess`]: type.AuthSuccess.html
|
||||
[`AuthResult`]: type.AuthResult.html
|
||||
*/
|
||||
#[derive(ResourceError)]
|
||||
#[derive(Debug, Clone, Copy, ResourceError)]
|
||||
pub enum AuthError
|
||||
{
|
||||
#[status(FORBIDDEN)]
|
||||
|
@ -54,7 +54,7 @@ error, or delegates to another error type. This type is best used with [`AuthRes
|
|||
|
||||
[`AuthResult`]: type.AuthResult.html
|
||||
*/
|
||||
#[derive(ResourceError)]
|
||||
#[derive(Debug, ResourceError)]
|
||||
pub enum AuthErrorOrOther<E>
|
||||
{
|
||||
#[status(UNAUTHORIZED)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue