You can search for identifiers within the package.
in-package search v0.2.0
bimage
Bimage.Error
type t = [
| `Invalid_shape
| `Invalid_kernel_shape of int * int
| `Invalid_input of int
| `Invalid_layout
| `Invalid_color
| `Msg of string
]
exception Exc of t
val exc : t -> 'a
Raises an Exc with the provided Error.t
Exc
Error.t
val to_string : t -> string
Returns a string representation of an Error.t
val unwrap : ('a, t) result -> 'a
A convenience function that returns the Ok value of a result if possible, otherwise it raises the Error value
Ok
Error