-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add class_cpmpser as dependency * modify how errors are created; add composer and remove initialize * update version bump * nits
- Loading branch information
1 parent
03613af
commit 3ba75f1
Showing
5 changed files
with
29 additions
and
24 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
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,15 @@ | ||
# frozen_string_literal: true | ||
|
||
module JsonSchematize | ||
class Error < StandardError; end | ||
class ConfigError < Error; end | ||
class FieldError < Error; end | ||
|
||
class InvalidField < Error; end | ||
class InvalidFieldByValidator < InvalidField; end | ||
class InvalidFieldByType < InvalidField; end | ||
class InvalidFieldByArrayOfTypes < InvalidField; end | ||
|
||
## Customized class errors | ||
class UndefinedBoolean < Error; end | ||
end |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module JsonSchematize | ||
VERSION = "0.7.0" | ||
VERSION = "0.8.0" | ||
end |