Files
MatchLiveTv/backend/app/services/teams/entitlement_error.rb
Emiliano Frascaro bba6df52c0 Initial commit: monorepo Match Live TV.
Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 17:45:37 +02:00

12 lines
254 B
Ruby

module Teams
class EntitlementError < StandardError
attr_reader :code, :billing_url
def initialize(message, code: "premium_required", billing_url: nil)
super(message)
@code = code
@billing_url = billing_url
end
end
end