mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-20 05:51:54 +03:00
12 lines
296 B
Haskell
12 lines
296 B
Haskell
|
{-# OPTIONS_GHC -Wno-orphans #-}
|
||
|
|
||
|
module Hasura.Base.Error.TestInstances () where
|
||
|
|
||
|
import Data.Text qualified as Text
|
||
|
import Hasura.Base.Error
|
||
|
import Hasura.Prelude
|
||
|
|
||
|
-- Orphan instance so that we can write assertions over `Either QErr a`.
|
||
|
instance Show QErr where
|
||
|
show = Text.unpack . showQErr
|