ErrorResolvers
talawa-api • Docs
talawa-api / types/generatedGraphQLTypes / ErrorResolvers
Type Alias: ErrorResolvers<ContextType, ParentType>
> ErrorResolvers<ContextType
, ParentType
>: object
Type Parameters
• ContextType = any
• ParentType extends ResolversParentTypes
["Error"
] = ResolversParentTypes
["Error"
]
Type declaration
__resolveType
> __resolveType: TypeResolveFn
<"MemberNotFoundError"
| "OrganizationMemberNotFoundError"
| "OrganizationNotFoundError"
| "PostNotFoundError"
| "UnauthenticatedError"
| "UnauthorizedError"
| "UserNotAuthorizedAdminError"
| "UserNotAuthorizedError"
| "UserNotFoundError"
, ParentType
, ContextType
>
message?
> optional
message: Resolver
<ResolversTypes
["String"
], ParentType
, ContextType
>