Sha256: 8fc567eea2ab57a0c8e29c3cd9bc9a4485ca81c5b5fbbdb8f57bf9b68b775147
Contents?: true
Size: 851 Bytes
Versions: 4
Compression:
Stored size: 851 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasJSendResult module Entities class Result module Plugins module RaisesOnNotCheckedResultStatus module Exceptions class StatusIsNotChecked < ::ConvenientService::Exception def initialize(attribute:) message = <<~TEXT Attribute `#{attribute}` is accessed before result status is checked. Did you forget to call `success?`, `failure?`, or `error?` on result? TEXT super(message) end end end end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems