mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
25 lines
494 B
Ruby
25 lines
494 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AuthError < StandardError
|
|
def initialize(msg = 'Could not authenticate to pooler')
|
|
super
|
|
end
|
|
end
|
|
|
|
class TokenError < StandardError
|
|
def initialize(msg = 'Could not do operation with token provided')
|
|
super
|
|
end
|
|
end
|
|
|
|
class MissingParamError < StandardError
|
|
def initialize(msg = 'Argument provided to function is missing')
|
|
super
|
|
end
|
|
end
|
|
|
|
class ModifyError < StandardError
|
|
def initialize(msg = 'Could not modify VM')
|
|
super
|
|
end
|
|
end
|