scriptError creates an Error given a set of arguments.
(c ErrorCode, desc string)
| 537 | |
| 538 | // scriptError creates an Error given a set of arguments. |
| 539 | func scriptError(c ErrorCode, desc string) Error { |
| 540 | return Error{ErrorCode: c, Description: desc} |
| 541 | } |
| 542 | |
| 543 | // IsErrorCode returns whether or not the provided error is a script error with |
| 544 | // the provided error code. |
no outgoing calls
searching dependent graphs…