Skip to content

docs: expand MAPDL error-handling docs and add PDF download link#4282

Merged
germa89 merged 3 commits intomainfrom
docs/small-doc-fixes
Oct 28, 2025
Merged

docs: expand MAPDL error-handling docs and add PDF download link#4282
germa89 merged 3 commits intomainfrom
docs/small-doc-fixes

Conversation

@germa89
Copy link
Collaborator

@germa89 germa89 commented Oct 28, 2025

Description

  • Expand "Warnings and errors" to describe Pythonic exception conversion and error-handling behavior
  • Add concrete try/except examples (including MapdlRuntimeError) and an example showing handling of specific Mapdl exceptions
  • Document the exception hierarchy and common error classes
  • Clarify that ignore_errors is an attribute and show usage
  • Add link to download the complete PyMAPDL documentation PDF in the Getting Started learning page

Issue linked

Close #4225

Checklist

- Expand "Warnings and errors" to describe Pythonic exception conversion and error-handling behavior
- Add concrete try/except examples (including MapdlRuntimeError) and an example showing handling of specific Mapdl exceptions
- Document the exception hierarchy and common error classes
- Clarify that ignore_errors is an attribute and show usage
- Add link to download the complete PyMAPDL documentation PDF in the Getting Started learning page
Copilot AI review requested due to automatic review settings October 28, 2025 12:06
@germa89 germa89 requested a review from a team as a code owner October 28, 2025 12:06
@germa89 germa89 self-assigned this Oct 28, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the PyMAPDL documentation by expanding error-handling guidance and adding a PDF download link. It transforms the existing basic error documentation into a comprehensive guide with practical examples and clear explanations of the exception hierarchy.

Key changes:

  • Enhanced error-handling documentation with concrete examples and exception hierarchy
  • Added PDF download link for offline documentation access
  • Updated terminology from "ansys-mapdl-core" to "PyMAPDL"

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
doc/source/user_guide/mapdl.rst Expanded error-handling section with exception hierarchy, practical examples, and clarified ignore_errors as an attribute
doc/source/getting_started/learning.rst Added download link for complete PyMAPDL documentation PDF

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot added the documentation Documentation related (improving, adding, etc) label Oct 28, 2025
@codecov
Copy link

codecov bot commented Oct 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.34%. Comparing base (566d59e) to head (d1fe597).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4282      +/-   ##
==========================================
+ Coverage   91.19%   91.34%   +0.15%     
==========================================
  Files         193      193              
  Lines       15726    15740      +14     
==========================================
+ Hits        14341    14378      +37     
+ Misses       1385     1362      -23     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@germa89 germa89 enabled auto-merge (squash) October 28, 2025 18:33
@germa89
Copy link
Collaborator Author

germa89 commented Oct 28, 2025

@pyansys-ci-bot LGTM.

Copy link
Contributor

@pyansys-ci-bot pyansys-ci-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approving this PR because germa89 said so in here 😬

LGTM

@germa89 germa89 merged commit a530e2e into main Oct 28, 2025
85 of 86 checks passed
@germa89 germa89 deleted the docs/small-doc-fixes branch October 28, 2025 18:43
clatapie pushed a commit that referenced this pull request Nov 4, 2025
* docs: expand MAPDL error-handling docs and add PDF download link

- Expand "Warnings and errors" to describe Pythonic exception conversion and error-handling behavior
- Add concrete try/except examples (including MapdlRuntimeError) and an example showing handling of specific Mapdl exceptions
- Document the exception hierarchy and common error classes
- Clarify that ignore_errors is an attribute and show usage
- Add link to download the complete PyMAPDL documentation PDF in the Getting Started learning page

* chore: adding changelog file 4282.documentation.md [dependabot-skip]

* docs: remove duplicated pymapdl_latest_pdf_doc link from links.rst

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
clatapie pushed a commit that referenced this pull request Nov 5, 2025
* docs: expand MAPDL error-handling docs and add PDF download link

- Expand "Warnings and errors" to describe Pythonic exception conversion and error-handling behavior
- Add concrete try/except examples (including MapdlRuntimeError) and an example showing handling of specific Mapdl exceptions
- Document the exception hierarchy and common error classes
- Clarify that ignore_errors is an attribute and show usage
- Add link to download the complete PyMAPDL documentation PDF in the Getting Started learning page

* chore: adding changelog file 4282.documentation.md [dependabot-skip]

* docs: remove duplicated pymapdl_latest_pdf_doc link from links.rst

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
clatapie pushed a commit that referenced this pull request Nov 18, 2025
* docs: expand MAPDL error-handling docs and add PDF download link

- Expand "Warnings and errors" to describe Pythonic exception conversion and error-handling behavior
- Add concrete try/except examples (including MapdlRuntimeError) and an example showing handling of specific Mapdl exceptions
- Document the exception hierarchy and common error classes
- Clarify that ignore_errors is an attribute and show usage
- Add link to download the complete PyMAPDL documentation PDF in the Getting Started learning page

* chore: adding changelog file 4282.documentation.md [dependabot-skip]

* docs: remove duplicated pymapdl_latest_pdf_doc link from links.rst

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
clatapie pushed a commit that referenced this pull request Nov 21, 2025
* docs: expand MAPDL error-handling docs and add PDF download link

- Expand "Warnings and errors" to describe Pythonic exception conversion and error-handling behavior
- Add concrete try/except examples (including MapdlRuntimeError) and an example showing handling of specific Mapdl exceptions
- Document the exception hierarchy and common error classes
- Clarify that ignore_errors is an attribute and show usage
- Add link to download the complete PyMAPDL documentation PDF in the Getting Started learning page

* chore: adding changelog file 4282.documentation.md [dependabot-skip]

* docs: remove duplicated pymapdl_latest_pdf_doc link from links.rst

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
clatapie pushed a commit that referenced this pull request Nov 21, 2025
* docs: expand MAPDL error-handling docs and add PDF download link

- Expand "Warnings and errors" to describe Pythonic exception conversion and error-handling behavior
- Add concrete try/except examples (including MapdlRuntimeError) and an example showing handling of specific Mapdl exceptions
- Document the exception hierarchy and common error classes
- Clarify that ignore_errors is an attribute and show usage
- Add link to download the complete PyMAPDL documentation PDF in the Getting Started learning page

* chore: adding changelog file 4282.documentation.md [dependabot-skip]

* docs: remove duplicated pymapdl_latest_pdf_doc link from links.rst

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
clatapie pushed a commit that referenced this pull request Feb 18, 2026
* docs: expand MAPDL error-handling docs and add PDF download link

- Expand "Warnings and errors" to describe Pythonic exception conversion and error-handling behavior
- Add concrete try/except examples (including MapdlRuntimeError) and an example showing handling of specific Mapdl exceptions
- Document the exception hierarchy and common error classes
- Clarify that ignore_errors is an attribute and show usage
- Add link to download the complete PyMAPDL documentation PDF in the Getting Started learning page

* chore: adding changelog file 4282.documentation.md [dependabot-skip]

* docs: remove duplicated pymapdl_latest_pdf_doc link from links.rst

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation related (improving, adding, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doc errors

3 participants