X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=doc%2Fclasses%2FMCollective%2FCodedError.html;fp=doc%2Fclasses%2FMCollective%2FCodedError.html;h=0000000000000000000000000000000000000000;hb=7c9314f502cde8daad23b61d10b24a542e04154a;hp=ef96da6c859c963713b7c85facf73bc1596407f9;hpb=d1f1649ba43c5cbc43c4beb2380096ba051d646a;p=packages%2Fprecise%2Fmcollective.git diff --git a/doc/classes/MCollective/CodedError.html b/doc/classes/MCollective/CodedError.html deleted file mode 100644 index ef96da6..0000000 --- a/doc/classes/MCollective/CodedError.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - -
-Class | -MCollective::CodedError | -
In: | -
-
- lib/mcollective/exception.rb
-
- - |
-
Parent: | -- RuntimeError - | -
args | -[R] | -- |
code | -[R] | -- |
default | -[R] | -- |
log_level | -[R] | -- |
- # File lib/mcollective/exception.rb, line 5 - 5: def initialize(msgid, default, level=:debug, args={}) - 6: @code = msgid - 7: @log_level = level - 8: @args = args - 9: @default = default -10: -11: msg = Util.t(@code, {:default => default}.merge(@args)) -12: -13: super(msg) -14: end --
- # File lib/mcollective/exception.rb, line 21 -21: def log(level, log_backtrace=false) -22: Log.logexception(@code, level, self, log_backtrace) -23: end --