jflow_exceptions 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d46a84318d210bec9299d9a94a57a5f01b991813
4
- data.tar.gz: 6b135be9cce962f3fb3159cb36d3d9102efc664b
3
+ metadata.gz: 300fb4cd739369b11ede92d10bf964c480508195
4
+ data.tar.gz: fac239afcd65eaecbf09c33135bff175525864a6
5
5
  SHA512:
6
- metadata.gz: 42432593e497880695ee454180ef345ff493e0d5e7011720a60d6498f4592d71b9b717abea4156b9aa765e1207f3853594cfabc5f935af6fcee5a8f530da9505
7
- data.tar.gz: 5c27b53ff6bcffcfbe82a408bbaaea9e68ecfd255a8765d2ccbb740a0a698b8f512348dacf0da3d51dad66dba05de75f4dc13fd633c3d5846b08ad1dc6798059
6
+ metadata.gz: 19f25e94588c22d2d7823ae9b54d048bbcb83a54c6582a1e9605935b186fe1e14af56fd10210ae5c90ec8267301724f533a6f2b72af7fcd0f306f99b18f9f2c0
7
+ data.tar.gz: 04b0dd9312c152e2a4f4e31626f78a57efaf209ccab2d8ce394716841c495c35e368774a17cc537793a16c1ab753d84f2f2183766bec8eff4e91f08044614830
@@ -0,0 +1,15 @@
1
+ module JFlow
2
+ module Exceptions
3
+ class Common < StandardError
4
+
5
+ attr_reader :original, :message
6
+
7
+ def initialize(exception)
8
+ super(exception.message)
9
+ @message = exception.message
10
+ @original = exception.class.name
11
+ set_backtrace(exception.backtrace)
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,6 @@
1
+ module JFlow
2
+ module Exceptions
3
+ class Fatal < Common
4
+ end
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module JflowExceptions
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jflow_exceptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christophe Verbinnen
@@ -69,6 +69,8 @@ files:
69
69
  - bin/setup
70
70
  - jflow_exceptions.gemspec
71
71
  - lib/jflow_exceptions.rb
72
+ - lib/jflow_exceptions/jflow/exceptions/common.rb
73
+ - lib/jflow_exceptions/jflow/exceptions/fatal.rb
72
74
  - lib/jflow_exceptions/version.rb
73
75
  homepage: https://github.com/djpate/jflow_exceptions
74
76
  licenses: []