use module tailbone to handle error