Skip to main content

ErrorResolvers

talawa-apiDocs


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>

Defined in

src/types/generatedGraphQLTypes.ts:4212