Skip to content

Commit

Permalink
ref[EcmaScript]: refactor generate EcmaScript protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed May 27, 2024
1 parent 0390cb7 commit c9299ae
Show file tree
Hide file tree
Showing 9 changed files with 1,311 additions and 197 deletions.
4 changes: 2 additions & 2 deletions protocol/src/test/ecmascript/zfooes/ProtocolManager.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ProtocolManager {
static getProtocol(protocolId) {
const protocol = protocols.get(protocolId);
if (protocol === null) {
throw new Error('[protocolId:' + protocolId + ']协议不存在');
throw new Error('[protocolId:' + protocolId + '] not exist');
}
return protocol;
}
Expand All @@ -42,4 +42,4 @@ class ProtocolManager {
}


export default ProtocolManager;
export default ProtocolManager;
Loading

0 comments on commit c9299ae

Please sign in to comment.