原书出处
微服务架构与实践
实践篇 10 功能迭代
这里我们看到,API将我们之前定义的ProductRepository和ProductRepresenter联系了起来。当没有查到指定ID对应的产品信息时,ProductRepository会抛出RecordNotFoundError并且被API捕获,并为调用者返回错误。
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/微服务架构与实践/_epub-src/OEBPS/text00016.html
EPUB SHA-256:70ad7325bb8d7aa4a567b220e42fda8e254526ec0bb93cb95f8971ab4d3e0afc