Skip to content

Commit

Permalink
Export grpcCodes from framework
Browse files Browse the repository at this point in the history
  • Loading branch information
graduta committed Jan 8, 2025
1 parent 6452a20 commit eba08c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Framework/Backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const { ServiceUnavailableError } = require('./errors/ServiceUnavailableError.js
const { TimeoutError } = require('./errors/TimeoutError.js');
const { UnauthorizedAccessError } = require('./errors/UnauthorizedAccessError.js');
const { grpcErrorToNativeError } = require('./errors/grpcErrorToNativeError.js');
const { GrpcErrorCodes } = require('./errors/grpcErrorCodes.enum.js');
const {
updateAndSendExpressResponseFromNativeError,
} = require('./errors/updateAndSendExpressResponseFromNativeError.js');
Expand Down Expand Up @@ -79,6 +80,8 @@ exports.TimeoutError = TimeoutError;

exports.UnauthorizedAccessError = UnauthorizedAccessError;

exports.GrpcErrorCodes = GrpcErrorCodes;

exports.grpcErrorToNativeError = grpcErrorToNativeError;

exports.updateAndSendExpressResponseFromNativeError = updateAndSendExpressResponseFromNativeError;

0 comments on commit eba08c4

Please sign in to comment.