Now you can return custom errors with statusCode on GraphQL with few lines of code. You can return HTTP errors by default but also you can create custom ones.