← Back

Modules

Leios

  • Abstract
  • Base
  • Blocks
  • Config
  • FFD
  • KeyRegistration
  • Linear
  • Linear.Trace.Verifier
  • Linear.Trace.Verifier.Test
  • Prelude
  • Protocol
  • SpecStructure
  • Voting
  • VRF

Network

  • BasicBroadcast
1234567891011
{-# OPTIONS --safe #-}
module Prelude.Errors where
 
open import Prelude.Init
open import Data.String
 
record IsError {A : Type} (E : A → Type) : Type where
field
errorMsg : ∀ {x} → E x → String
 
open IsError ⦃...⦄ public