Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Commit

Permalink
chore(index): change 'BLUEMIX' to 'GRAMPS'
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanomackey authored and jlengstorf committed Apr 9, 2018
1 parent 4449311 commit 0dca236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const customErrorFields = [
label: 'Error Code',
name: 'errorCode',
order: 2,
default: 'BLUEMIX_GRAPHQL_ERROR',
default: 'GRAMPS_ERROR',
},
{
label: 'GraphQL Model',
Expand Down Expand Up @@ -71,7 +71,7 @@ export function GrampsError(
data = null,
message = '',
description = null,
errorCode = 'BLUEMIX_GRAPHQL_ERROR',
errorCode = 'GRAMPS_ERROR',
graphqlModel = null,
targetEndpoint = null,
docsLink = null,
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ describe('GrAMPS Errors', () => {
const error = GrampsError();
const defaultError = 'Internal Server Error';
const defaultMessage = 'An internal server error occurred';
const defaultErrorCode = 'BLUEMIX_GRAPHQL_ERROR';
const defaultErrorCode = 'GRAMPS_ERROR';

expect(error.isBoom).toBe(true);
expect(error.isServer).toBe(true);
Expand Down

0 comments on commit 0dca236

Please sign in to comment.