Skip to content

Commit

Permalink
export errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirotw committed May 23, 2022
1 parent 3a7e90d commit e87cf04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/cow/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import {
import { CowError, logPrefix, objectToQueryString } from '../../utils/common'
import { Context } from '../../utils/context'

export { OperatorError, QuoteError }

function getGnosisProtocolUrl(isDev: boolean): Partial<Record<ChainId, string>> {
if (isDev) {
return {
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export { CowError } from './utils/common'
export { ALL_SUPPORTED_CHAIN_IDS, SupportedChainId } from './constants/chains'
export * from './types'
export * as GraphQL from './api/cow-subgraph/graphql'
export { OperatorError, QuoteError } from './api/cow'

0 comments on commit e87cf04

Please sign in to comment.