Kinetis Bootloader Host  2.0.0
Host Tools for Kinetis devices
BlfwkErrors.h
1 /*
2  * File: BlfwkErrors.h
3  *
4  * Copyright (c) Freescale Semiconductor, Inc. All rights reserved.
5  * See included license file for license details.
6  */
7 #if !defined(_BlfwkErrors_h_)
8 #define _BlfwkErrors_h_
9 
10 #include <string>
11 #include <stdexcept>
12 
15 
16 namespace blfwk
17 {
21 class semantic_error : public std::runtime_error
22 {
23 public:
24  explicit semantic_error(const std::string &msg)
25  : std::runtime_error(msg)
26  {
27  }
28 };
29 
30 }; // namespace blfwk
31 
33 
34 #endif // _BlfwkErrors_h_
Definition: BlfwkErrors.h:16
A semantic error discovered while processing the command file AST.
Definition: BlfwkErrors.h:21