added ability to pass in error message and link
moved code handling case where user already has a timeline into custom exception mapper