move error definitions to errors.rb
ute f-8
slice off transfer