Throw error and halt program when we get unexpected padding