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>
This commit is contained in:
11
backend/app/services/teams/entitlement_error.rb
Normal file
11
backend/app/services/teams/entitlement_error.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user