1
0
Fork 0
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:
Dominic 2020-05-03 18:21:50 +02:00
parent 992d9be195
commit 328ebf821e
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
13 changed files with 29 additions and 19 deletions

View file

@ -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)]