Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/errors/MinioInitializationError.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const {MoleculerError} = require("moleculer/src/errors");
const { Errors } = require('moleculer');
const MoleculerError = Errors.MoleculerError;

/**
* Error that should be thrown when the Minio Service can not be Initialized
Expand Down
3 changes: 2 additions & 1 deletion src/errors/MinioPingError.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const {MoleculerRetryableError} = require("moleculer/src/errors");
const { Errors } = require('moleculer');
const MoleculerRetryableError = Errors.MoleculerRetryableError;

/**
* Error that should be thrown when the Minio Backend can not be pinged
Expand Down