有人知道错误查询中我的错误对象中的第一个伪属性是什么吗?当我console.log('' + error);
抓住要显示的括号内的文本时。除此之外,我不确定如何引用该属性。
{ [error: function XXXXXXXXXX does not exist]
name: 'error',
length: 226,
severity: 'ERROR',
code: '42883',
detail: undefined,
hint: 'No function matches the given name and argument types. You might need to add explicit type casts.',
position: '8',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
file: 'parse_func.c',
line: '306',
routine: 'ParseFuncOrColumn' }