.end(): return an error if the method is not implemented