jflow_exceptions 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 300fb4cd739369b11ede92d10bf964c480508195
|
4
|
+
data.tar.gz: fac239afcd65eaecbf09c33135bff175525864a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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: []
|