aboutsummaryrefslogtreecommitdiff
path: root/dev/data-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'dev/data-error.js')
-rw-r--r--dev/data-error.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev/data-error.js b/dev/data-error.js
index 5034e3fd..0ab2d354 100644
--- a/dev/data-error.js
+++ b/dev/data-error.js
@@ -15,6 +15,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+/**
+ * Schema validation error type.
+ */
class DataError extends Error {
/**
* @param {string} message