sig/bcdd/result/error.rbs in bcdd-result-0.11.0 vs sig/bcdd/result/error.rbs in bcdd-result-0.12.0

- old
+ new

@@ -11,21 +11,24 @@ class UnexpectedOutcome < BCDD::Result::Error def self.build: (outcome: untyped, origin: Symbol, ?expected: String) -> BCDD::Result::Error::UnexpectedOutcome end - class InvalidResultSubject < BCDD::Result::Error - def self.build: (given_result: BCDD::Result, expected_subject: untyped) - -> BCDD::Result::Error::InvalidResultSubject + class InvalidResultSource < BCDD::Result::Error + def self.build: (given_result: BCDD::Result, expected_source: untyped) + -> BCDD::Result::Error::InvalidResultSource end - class InvalidSubjectMethodArity < BCDD::Result::Error - def self.build: (subject: untyped, method: Method, max_arity: Integer) - -> BCDD::Result::Error::InvalidSubjectMethodArity + class InvalidSourceMethodArity < BCDD::Result::Error + def self.build: (source: untyped, method: Method, max_arity: Integer) + -> BCDD::Result::Error::InvalidSourceMethodArity end class UnhandledTypes < BCDD::Result::Error def self.build: (types: Set[Symbol]) -> BCDD::Result::Error::UnhandledTypes + end + + class CallableAndThenDisabled < BCDD::Result::Error end end end