jcassee / angular-hypermedia

Hypermedia REST API client for AngularJS applications
MIT License
38 stars 5 forks source link

Improve Resource.$loadPaths error messages #10

Closed jcassee closed 9 years ago

jcassee commented 9 years ago

Old error:

path "nonexistent" not found for resource: http://example.com/resource2

New error:

Warning while loading path "relation1.relation2" from resource "http://example.com/resource1": property or link "nonexistent" not found on resource "http://example.com/resource2"