(motive : Lean.Exception → Sort u_1) →
  (ex : Lean.Exception) →
    ((id : Lean.InternalExceptionId) → (ref : Lean.KVMap) → motive (Lean.Exception.internal id ref)) →
      ((e : Lean.Exception) → motive e) → motive ex