package apero-core

  1. Overview
  2. Docs
type error_kind = [
  1. | `NoMsg
  2. | `Msg of string
  3. | `Code of int
  4. | `Pos of string * int * int * int
  5. | `Loc of string
]
val show_error_kind : error_kind -> Ppx_deriving_runtime.string
val error_kind_to_yojson : error_kind -> Yojson.Safe.t
type error = [
  1. | `OutOfBounds of error_kind
  2. | `OutOfRange of error_kind
  3. | `IOError of error_kind
  4. | `ClosedSession of error_kind
  5. | `InvalidFormat of error_kind
  6. | `ProtocolError of error_kind
  7. | `InvalidSession of error_kind
  8. | `ResourceLimitViolation of error_kind
  9. | `InvalidAddress
  10. | `InvalidFlags
  11. | `NotImplemented
  12. | `UnknownSubMode
  13. | `UnknownMessageId
  14. | `UnexpextedMessage
  15. | `ValidationError of error_kind
  16. | `ErrorStack of error list
]
val error_to_yojson : error -> Yojson.Safe.t
exception Exception of error
module Vle : sig ... end