class Google::Serverless::Exec::NoSuchVersion
Exception raised when the given version could not be found, or no versions at all could be found for the given service.
Attributes
service[R]
version[R]
Public Class Methods
new(service, version = nil)
click to toggle source
Calls superclass method
# File lib/google/serverless/exec.rb, line 326 def initialize service, version = nil @service = service @version = version if version super "No such version \"#{version}\" for service \"#{service}\"" else super "No versions found for service \"#{service}\"" end end