(motive : Lean.Exception → Sort u_1) →
  (ex : Lean.Exception) →
    ((e : Lean.Exception) →
        (id : Lean.InternalExceptionId) →
          (extra : Lean.KVMap) →
            (h : e = Lean.Exception.internal id extra) → motive (namedPattern e (Lean.Exception.internal id extra) h)) →
      ((e : Lean.Exception) → motive e) → motive ex