fix
add exceptions.rb
update generic repo invocation and exception handling