[Soled] Eslint Error: Unexpected literal in error position of callback

For example, if the above error is reported, the solution can be defined as a variable:

const err = 'Please Input the port number'
callback(err)

Read More: