A Bayesian approach for nonlinear regression models with continuous errors