Check for Error.captureStackTrace before use