Skip to content

Instantly share code, notes, and snippets.

@akoenig
Created March 4, 2018 07:55
Show Gist options
  • Save akoenig/c86672fb676ab325d7673aefde9bb234 to your computer and use it in GitHub Desktop.
Save akoenig/c86672fb676ab325d7673aefde9bb234 to your computer and use it in GitHub Desktop.
// path: resolvers/mutation/login/errors/WrongCredentialsError.ts
import { createError } from "apollo-errors";
const WrongCredentialsError = createError("WrongCredentialsError", {
message: "The provided credentials are invalid."
});
export { WrongCredentialsError }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment