Jayden Seric

Results 226 comments of Jayden Seric

If it helps guide what the right behavior should be, the JSON representation of a normal `Error` instance is `{}`: ``` console.log(JSON.stringify(new Error('Message.'))) ``` Consistency with native errors might make...

Related past discussion: https://github.com/jshttp/http-errors/issues/20

> I'm wondering how other packages that are used a lot are doing this. Using peer dependencies. For example, packages that rely on `graphql` always declare it as a peer...

@Daniel15 Surely the install script modified profiles, etc.? Ideally there would be both an uninstall script, and manual removal instructions on the website. Currently I'm attempting to understand the install...

For other people migrating from v0.x to v1, here is a `jsdoc-md` diff to reference: https://github.com/jaydenseric/jsdoc-md/commit/ebcdbf5867851f5251f88a7759cfee6095251f01#diff-04e9c1ef0da56feec83db032c6ee7f9db1230accf7530a0767902d21be9faf85 One thing I would like to investigate is if the `comment-parser` tokenizer can be...

It's working when the readme is viewed directly, e.g. https://deno.land/x/[email protected]/readme.md But not when the main package page displays the readme contents at the bottom: https://deno.land/x/[email protected]

Also, Zeit Now supports `.env.build`: https://zeit.co/docs/v2/environment-variables-and-secrets#local-development Instead of trying to whitelist know variations, it's easier to just do: ```json { "files.associations": { "*.env.*": "dotenv" } } ```

It depends what you are trying to do. You can either try to throw errors the way you need at the original place the error is thrown, try to customize...

I'm not following why you can't control your database errors in resolvers - can't you wrap your query code in a try catch? If the queries are happening via abstractions...

You can make repetitive DB query error handling code DRY with helper functions. The best place to get the error message right is at the location of the error. You...