idaes-pse icon indicating copy to clipboard operation
idaes-pse copied to clipboard

Improve error handling for `idaes get-extensions`

Open lbianchi-lbl opened this issue 9 months ago • 0 comments

Problem

Misleading error message is displayed if idaes get-extensions fails for spurious reasons

Image

Possible solution

  • Improve error handling so that more specific exceptions are raised and displayed to the user
  • Create dedicated exception subclass (e.g. UnsupportedPlatform) and only raise that when appropriate
    • e.g. if detected platform is not found after applying compatibility mapping
    • Possibly before a download is even attempted?

lbianchi-lbl avatar Jan 30 '25 15:01 lbianchi-lbl