storage-test
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Ouroboros.Storage.Orphans

Orphan instances

Eq FsError Source # 
Instance details

Methods

(==)FsErrorFsErrorBool #

(/=)FsErrorFsErrorBool #

Eq ApiMisuse Source # 
Instance details

Methods

(==)ApiMisuseApiMisuseBool #

(/=)ApiMisuseApiMisuseBool #

Eq PrettyCallStack Source #

NOTE: all PrettyCallStack are equal to each other.

This is useful for testing, when comparing error types that embed a PrettyCallStack. The call stack will differ in practice, i.e., model vs implementation.

Instance details

StandardHash blk ⇒ Eq (ChainDbError blk) Source # 
Instance details

Methods

(==)ChainDbError blk → ChainDbError blk → Bool #

(/=)ChainDbError blk → ChainDbError blk → Bool #

StandardHash blk ⇒ Eq (ChainDbFailure blk) Source # 
Instance details

Methods

(==)ChainDbFailure blk → ChainDbFailure blk → Bool #

(/=)ChainDbFailure blk → ChainDbFailure blk → Bool #

StandardHash blk ⇒ Eq (ApiMisuse blk) Source # 
Instance details

Methods

(==)ApiMisuse blk → ApiMisuse blk → Bool #

(/=)ApiMisuse blk → ApiMisuse blk → Bool #

StandardHash blk ⇒ Eq (ImmutableDBError blk) Source # 
Instance details

Methods

(==)ImmutableDBError blk → ImmutableDBError blk → Bool #

(/=)ImmutableDBError blk → ImmutableDBError blk → Bool #

StandardHash blk ⇒ Eq (UnexpectedFailure blk) Source # 
Instance details

StandardHash blk ⇒ Eq (UnexpectedFailure blk) Source # 
Instance details

StandardHash blk ⇒ Eq (VolatileDBError blk) Source # 
Instance details

Methods

(==)VolatileDBError blk → VolatileDBError blk → Bool #

(/=)VolatileDBError blk → VolatileDBError blk → Bool #