Skip to content

Commit

Permalink
made the description below 150 characters (#5507)
Browse files Browse the repository at this point in the history
* made the description below 150 characters

* Update exceptions.md

minor changes

---------
  • Loading branch information
ozearkhan authored Oct 18, 2024
1 parent 00eb517 commit 4547532
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/cpp/concepts/exceptions/exceptions.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
Title: 'Exceptions'
Description: 'An Exception in C++ is the computers response to a problem that occurs while executing a programs code. If the code does not handle the exception, the program will stop running due to the error.'
Description: 'Exception is a runtime error that occurs during the execution of a program. If not handled, it stops the program execution.'
Subjects:
- 'Computer Science'
- 'Game Development'
Tags:
- 'Exceptions'
- 'Try'
- 'Catch'
- 'Errors'
- 'Exceptions'
- 'Try'
CatalogContent:
- 'learn-c-plus-plus'
- 'paths/computer-science'
---

In C++, an **exception** is the computer's response to a problem that occurs while executing a program's code. The computer will create an exception, and if the code does not have a way to handle it, then the program will stop executing due to the error.
In C++, an **exception** is a runtime error that occurs during the execution of a program. If not handled, it stops the program execution. The computer will create an `exception`, and if the code does not have a way to handle it, then the program will stop executing due to the error.

## Catching an Exception

Expand Down

0 comments on commit 4547532

Please sign in to comment.