class ElasticAPM::Transaction::Outcome

@api private

Constants

FAILURE
SUCCESS
UNKNOWN

Public Class Methods

from_http_status(code) click to toggle source
# File lib/elastic_apm/transaction.rb, line 29
def self.from_http_status(code)
  code.to_i >= 500 ? FAILURE : SUCCESS
end