-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from fktn-k/feature/214_emit_more_descriptive…
…_errors #214 Emit more descriptive errors
- Loading branch information
Showing
16 changed files
with
530 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<small>Defined in header [`<fkYAML/exception.hpp>`](https://github.com/fktn-k/fkYAML/blob/develop/include/fkYAML/exception.hpp)</small> | ||
|
||
# <small>fkyaml::</small>invalid_encoding | ||
|
||
```cpp | ||
class invalid_encoding : public exception; | ||
``` | ||
|
||
A exception class indicating an encoding error. | ||
This class extends the [`fkyaml::exception`](index.md) class and the [`what()`](what.md) function emits an error message in the following format. | ||
|
||
``` | ||
invalid_encoding: [error message] in=[array of elements detected an error] | ||
``` | ||
|
||
## **See Also** | ||
|
||
* [exception](index.md) | ||
* [what](what.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<small>Defined in header [`<fkYAML/exception.hpp>`](https://github.com/fktn-k/fkYAML/blob/develop/include/fkYAML/exception.hpp)</small> | ||
|
||
# <small>fkyaml::</small>parse_error | ||
|
||
```cpp | ||
class parse_error : public exception; | ||
``` | ||
|
||
A exception class indicating an error in parsing. | ||
This class extends the [`fkyaml::exception`](index.md) class and the [`what()`](what.md) function emits an error message in the following format. | ||
|
||
``` | ||
parse_error: [error message] (at line [LINE], column [COLUMN]) | ||
``` | ||
|
||
## **See Also** | ||
|
||
* [exception](index.md) | ||
* [what](what.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<small>Defined in header [`<fkYAML/exception.hpp>`](https://github.com/fktn-k/fkYAML/blob/develop/include/fkYAML/exception.hpp)</small> | ||
|
||
# <small>fkyaml::</small>type_error | ||
|
||
```cpp | ||
class type_error : public exception; | ||
``` | ||
|
||
A exception class indicating an invalid type conversion. | ||
This class extends the [`fkyaml::exception`](index.md) class and the [`what()`](what.md) function emits an error message in the following format. | ||
|
||
``` | ||
type_error: [error message] type=[source node type] | ||
``` | ||
|
||
## **See Also** | ||
|
||
* [exception](index.md) | ||
* [what](what.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.