-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
謎
フロント側のエラーの形
全部、errors[0].messageに紐づいてくる
message: "Unexpected error value: { code: 6, message: \"Already existed favorite article in selected
BFF側の実装
- rejectでcodeとか返したら、全部messageに入れられる?
client.createMultiFavoriteArticlesForUploadArticle(req, (err, res) => {
if (err) {
reject({
code: err?.code || 500,
message: err?.details || 'something went wrong',
});
return;
}
エラーの型はGraphQLFormattedErrorらしい
Objective
Tasks
Other
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request