Removed circular import in the errors package
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/errors': patch
|
||||
---
|
||||
|
||||
Removed a circular import
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { stringifyError } from '../serialization';
|
||||
import { stringifyError } from '../serialization/error';
|
||||
import { isError } from './assertion';
|
||||
|
||||
/**
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { deserializeError } from '../serialization';
|
||||
import { deserializeError } from '../serialization/error';
|
||||
import {
|
||||
ErrorResponseBody,
|
||||
parseErrorResponseBody,
|
||||
|
||||
@@ -19,7 +19,7 @@ import {
|
||||
deserializeError as deserializeErrorInternal,
|
||||
serializeError as serializeErrorInternal,
|
||||
} from 'serialize-error';
|
||||
import { isError } from '../errors';
|
||||
import { isError } from '../errors/assertion';
|
||||
|
||||
/**
|
||||
* The serialized form of an Error.
|
||||
|
||||
Reference in New Issue
Block a user