Alpha: export errors
This commit is contained in:
parent
59cdbd3ef1
commit
85315c0480
@ -15,6 +15,8 @@ type error += Invalid_fitness_gap of int64 * int64 (* `Permanent *)
|
||||
type error += Timestamp_too_early of Timestamp.t * Timestamp.t (* `Permanent *)
|
||||
type error += Invalid_block_signature of Block_hash.t * Signature.Public_key_hash.t (* `Permanent *)
|
||||
type error += Unexpected_endorsement
|
||||
type error += Invalid_signature (* `Permanent *)
|
||||
type error += Invalid_stamp (* `Permanent *)
|
||||
|
||||
(** [minimal_time ctxt priority pred_block_time] returns the minimal
|
||||
time, given the predecessor block timestamp [pred_block_time],
|
||||
|
@ -9,6 +9,8 @@
|
||||
|
||||
(** {1 Errors} ****************************************************************)
|
||||
|
||||
type error += Too_many_internal_operations (* `Permanent *)
|
||||
|
||||
(** An internal storage error that should not happen *)
|
||||
type storage_error =
|
||||
| Incompatible_protocol_version of string
|
||||
|
@ -20,6 +20,7 @@
|
||||
type error +=
|
||||
| Consume_roll_change
|
||||
| No_roll_for_delegate
|
||||
| No_roll_snapshot_for_cycle of Cycle_repr.t
|
||||
| Unregistered_delegate of Signature.Public_key_hash.t (* `Permanent *)
|
||||
|
||||
val init : Raw_context.t -> Raw_context.t tzresult Lwt.t
|
||||
|
Loading…
Reference in New Issue
Block a user