Skip to content

Commit

Permalink
Revert sort
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed May 3, 2022
1 parent 152fe50 commit 6da2279
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,22 +287,22 @@ export function getRootCause(error: ErrorObject): ErrorObject {
// - because not all of our errors can be deserialized with the right class:
// https://github.com/sindresorhus/serialize-error/issues/72
const BUSINESS_ERROR_NAMES = new Set([
"PropError",
"BusinessError",
"ClientNetworkError",
"ClientNetworkPermissionError",
"InputValidationError",
"InvalidSelectorError",
"InvalidTemplateError",
"MissingConfigurationError",
"MultipleElementsFoundError",
"NoElementsFoundError",
"NotConfiguredError",
"MultipleElementsFoundError",
"InputValidationError",
"OutputValidationError",
"PipelineConfigurationError",
"PropError",
"MissingConfigurationError",
"NotConfiguredError",
"RemoteServiceError",
"ClientNetworkPermissionError",
"ClientNetworkError",
"ProxiedRemoteServiceError",
"RemoteExecutionError",
"RemoteServiceError",
"InvalidTemplateError",
"InvalidSelectorError",
]);

/**
Expand Down

0 comments on commit 6da2279

Please sign in to comment.