Imitate the structure of IOErrorType in Haskell: https://hackage.haskell.org/package/base-4.12.0.0/docs/System-IO-Error.html#t:IOErrorType
- alreadyExists: Option String → UInt32 → String → IO.Error
- otherError: UInt32 → String → IO.Error
- resourceBusy: UInt32 → String → IO.Error
- resourceVanished: UInt32 → String → IO.Error
- unsupportedOperation: UInt32 → String → IO.Error
- hardwareFault: UInt32 → String → IO.Error
- unsatisfiedConstraints: UInt32 → String → IO.Error
- illegalOperation: UInt32 → String → IO.Error
- protocolError: UInt32 → String → IO.Error
- timeExpired: UInt32 → String → IO.Error
- interrupted: String → UInt32 → String → IO.Error
- noFileOrDirectory: String → UInt32 → String → IO.Error
- invalidArgument: Option String → UInt32 → String → IO.Error
- permissionDenied: Option String → UInt32 → String → IO.Error
- resourceExhausted: Option String → UInt32 → String → IO.Error
- inappropriateType: Option String → UInt32 → String → IO.Error
- noSuchThing: Option String → UInt32 → String → IO.Error
- unexpectedEof: IO.Error
- userError: String → IO.Error
Instances For
Equations
- IO.instInhabitedError = { default := IO.Error.alreadyExists default default default }
@[export lean_mk_io_user_error]
Equations
Instances For
Equations
- instCoeStringError = { coe := IO.userError }
@[export lean_mk_io_error_already_exists_file]
Equations
Instances For
@[export lean_mk_io_error_eof]
Equations
Instances For
@[export lean_mk_io_error_inappropriate_type_file]
Equations
Instances For
@[export lean_mk_io_error_interrupted]
Equations
Instances For
@[export lean_mk_io_error_invalid_argument_file]
Equations
Instances For
@[export lean_mk_io_error_no_file_or_directory]
Instances For
@[export lean_mk_io_error_no_such_thing_file]
Equations
Instances For
@[export lean_mk_io_error_permission_denied_file]
Equations
Instances For
@[export lean_mk_io_error_resource_exhausted_file]
Equations
Instances For
@[export lean_mk_io_error_unsupported_operation]
Instances For
@[export lean_mk_io_error_resource_exhausted]
Equations
Instances For
@[export lean_mk_io_error_already_exists]
Equations
Instances For
@[export lean_mk_io_error_inappropriate_type]
Equations
Instances For
@[export lean_mk_io_error_no_such_thing]
Equations
Instances For
@[export lean_mk_io_error_resource_vanished]
Instances For
@[export lean_mk_io_error_resource_busy]
Instances For
@[export lean_mk_io_error_invalid_argument]
Equations
Instances For
@[export lean_mk_io_error_other_error]
Equations
Instances For
@[export lean_mk_io_error_permission_denied]
Equations
Instances For
@[export lean_mk_io_error_hardware_fault]
Instances For
@[export lean_mk_io_error_unsatisfied_constraints]
Instances For
@[export lean_mk_io_error_illegal_operation]
Instances For
@[export lean_mk_io_error_protocol_error]
Instances For
@[export lean_mk_io_error_time_expired]
Equations
Instances For
@[export lean_io_error_to_string]
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- IO.Error.instToStringError = { toString := IO.Error.toString }