class Strum::Errors::InvalidTemplatePart

Raised when the template_part param passed to Strum::Server::Packet::Template#write is not one of the following: :Header, :Body, :Terminator

Public Class Methods

new(template_part) click to toggle source
Calls superclass method
# File lib/strum/internal/errors.rb, line 115
def initialize(template_part)
  super("The following template part is invalid: #{template_part}\nPlease use any of the following instead:\n[:Header, :Body, :Terminator]")
end