errors
Here are 330 public repositories matching this topic...
-
Updated
May 18, 2020 - Java
-
Updated
May 16, 2020 - PHP
-
Updated
May 11, 2020 - PHP
I am trying to use your package for certain use cases and i am confused beyond a point. For instance, i have scenarios for custom errors and error types or error codes etc. I am looking at adding namespaces etc and your documentation is not helping me move forward. Could someone please address it and help me or developers like me understand how to go about using your library better?
-
Updated
Mar 15, 2019 - Go
Add eris.As(...)
For completion, we should offer an As method like the one in Go 1.13 errors (https://golang.org/pkg/errors/#As). We should try to make this more reliable than Go's version by preventing panics: "As will panic if target is not a non-nil pointer to either a type that implements error, or to any interface type." Seems like we could just return false in these cases instead.
-
Updated
Mar 14, 2020 - TypeScript
I am bundling rollbar in my webpack build, so I am importing rollbar from its npm package. E.g.
import Rollbar from 'rollbar';
// ... somewhere else
new Rollbar({ accessToken: ..., ... })The Rollbar constructor accepts a bunch of options, and the type definition says that it should accept code_version as well as codeVersion ([here](https://github.com/rollbar/
-
Updated
Apr 29, 2020 - PHP
-
Updated
Nov 11, 2019 - Go
Wrap previous Error
Add a previous Error on throw.js engine.
errors.BadRequest(err, 'Error on MongoDB');example:
const errors = require('throw.js');
const mongoose = require('mongoose');
const User = mongoose.model('user');
app.get('/', (req, res, next) => Promise.resolve().then(() => {
let {query} = req;
if (!query.id) {
throw errors.BadRequest('Missing -
Updated
Nov 8, 2017 - JavaScript
Description
config.ignore_classes should take an array of strings instead of constants (or either?)
Issue
As we add error classes to the ignore_classes we're realizing that we're inadvertently loading those classes that don't need to be loaded. It would be good if ignore_classes can take in an array of class names as strings since this comparison is done at the time of error any
-
Updated
Nov 13, 2018 - Java
-
Updated
Mar 29, 2020 - Go
-
Updated
May 11, 2020 - JavaScript
Description
The current API used for obtaining free memory is know to be inaccurate. iOS 13 includes a very accurate way of getting the free memory available to an app. os_proc_available_memory.
Describe the solution you'd like
In bsg_ksmachfreeMemory, use os_proc_available_memory in
-
Updated
Apr 29, 2020 - Go
I have the following schema
const mongoose = require('mongoose'),
uniqueValidator = require('mongoose-beautiful-unique-validation'),
Schema = mongoose.Schema;
const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
const ClientSchema = new
At the moment, Periskop shows all exceptions aggregated by key in the sidebar. However, it is hard to find a specific exception (especially when the exception name is too long and gets trimmed).
In order to make it easier to find exceptions, implement a search box on the top of the sidebar allowing to filter exceptions by key.
-
Updated
Mar 19, 2020 - Ruby
Improve this page
Add a description, image, and links to the errors topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the errors topic, visit your repo's landing page and select "manage topics."
Repro:
lein tests/*explain-out*should control the success message, not the outer functionshttps://github.com/clojure/spec.alpha/blob/5a4834eeb2967b2eca382efe0afcb3f590bdb3c2/src/main/clojure/clojure/spec/alpha.clj#L257
Workaround is