Sha256: d9d31147618fb9bbed859c39027b85f50bca806ea16b954e25d239ace3b66979
Contents?: true
Size: 836 Bytes
Versions: 14
Compression:
Stored size: 836 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasResult module Entities class Result module Plugins module RaisesOnNotCheckedResultStatus module Errors class StatusIsNotChecked < ConvenientService::Error 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
14 entries across 14 versions & 1 rubygems