You can search for identifiers within the package.
in-package search v0.2.0
type typ =
| UNKNOWN
| UNKNOWN_METHOD
| INVALID_MESSAGE_TYPE
| WRONG_METHOD_NAME
| BAD_SEQUENCE_ID
| MISSING_RESULT
| INTERNAL_ERROR
| PROTOCOL_ERROR
| INVALID_TRANSFORM
| INVALID_PROTOCOL
| UNSUPPORTED_CLIENT_TYPE
val typ_of_i : int32 -> typ
val typ_to_i : typ -> int32
class t : object ... end
val create : typ -> string -> t
val read : Protocol.t -> t
exception E of t