Codifying error prisms with fields