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

Commit 0dca236

Browse files
ryanomackeyjlengstorf
authored andcommitted
chore(index): change 'BLUEMIX' to 'GRAMPS'
1 parent 4449311 commit 0dca236

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const customErrorFields = [
2424
label: 'Error Code',
2525
name: 'errorCode',
2626
order: 2,
27-
default: 'BLUEMIX_GRAPHQL_ERROR',
27+
default: 'GRAMPS_ERROR',
2828
},
2929
{
3030
label: 'GraphQL Model',
@@ -71,7 +71,7 @@ export function GrampsError(
7171
data = null,
7272
message = '',
7373
description = null,
74-
errorCode = 'BLUEMIX_GRAPHQL_ERROR',
74+
errorCode = 'GRAMPS_ERROR',
7575
graphqlModel = null,
7676
targetEndpoint = null,
7777
docsLink = null,

test/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ describe('GrAMPS Errors', () => {
243243
const error = GrampsError();
244244
const defaultError = 'Internal Server Error';
245245
const defaultMessage = 'An internal server error occurred';
246-
const defaultErrorCode = 'BLUEMIX_GRAPHQL_ERROR';
246+
const defaultErrorCode = 'GRAMPS_ERROR';
247247

248248
expect(error.isBoom).toBe(true);
249249
expect(error.isServer).toBe(true);

0 commit comments

Comments
 (0)