Orcaflex Vessel Setup Error Handling

Sub-skill of orcaflex-vessel-setup: Error Handling.

vamseeachanta Updated

File contents

Error Handling

Error Handling

try:
    vessel_type = import_vessel_from_aqwa(model, aqwa_file, "Vessel_Type")
except OrcFxAPI.OrcaFlexError as e:
    print(f"Import failed: {e}")
    print("Check AQWA file path and format")

except FileNotFoundError:
    print("AQWA file not found")

except ValueError as e:
    print(f"Configuration error: {e}")

vamseeachanta/workspace-hub/tree/main/.agents/skills/_archive/engineering/marine-offshore/orcaflex-vessel-setup/error-handling commit 661ba5d87e

Frequently asked questions

npx skillmds@latest add vamseeachanta/orcaflex-vessel-setup-error-handling